import { TContext, TFlags, TFlow, TStage } from './ifaces';
/**
 * Build running context.
 */
export declare const getContext: (flags?: TFlags) => TContext;
/**
 * Run cmd stack.
 * @param stages
 * @param ctx
 */
export declare const exec: (stages: TStage, ctx: TContext) => void;
/**
 * Public static void main.
 */
export declare const runSync: (_flags?: TFlags, _flow?: TFlow) => void;
export declare const run: {
    (_flags?: TFlags, _flow?: TFlow): Promise<void>;
    sync: (_flags?: TFlags, _flow?: TFlow) => void;
};
