import type { IMatrixContext } from '../engine/core/IMatrixContext';
import type { IFlowPlan } from './FlowPlan';
/**
 * Interprets a IFlowPlan against a context.
 *
 * All remote stages use RequestReply over the scheme-appropriate transport.
 */
export declare class FlowEngine {
    private readonly context;
    constructor(context: IMatrixContext);
    run<TIn = unknown, TOut = unknown>(plan: IFlowPlan<TIn, TOut>, input: TIn): Promise<TOut>;
    private executeStage;
}
//# sourceMappingURL=FlowEngine.d.ts.map