import { Task } from "../Task";
import { s } from "bknd/utils";
export declare class SubFlowTask<Output extends Record<string, any>> extends Task<typeof SubFlowTask.schema, Output> {
    type: string;
    static schema: s.ObjectSchema<{
        readonly flow: s.Schema<s.IAnyOptions, any, any> & s.IAnyOptions;
        readonly input: {
            [x: string]: any;
            [x: number]: any;
        } & s.Schema<s.ISchemaOptions, any, any>;
        readonly loop: {
            default?: any;
            enum?: (readonly any[] | any[]) | undefined;
            const?: any;
        } & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
    }, s.Merge<s.IObjectOptions & {
        additionalProperties: false;
    }>>;
    execute(): Promise<any>;
}
