import type { WorkflowConfig, WorkflowCallStep, WorkflowMaxSteps, WorkflowResumePointEntry, WorkflowState } from '../../models/types.js';
import type { RunPaths } from '../run/run-paths.js';
import type { RuntimeStepResolution, StepRunResult, WorkflowCallChildEngine, WorkflowCallResolver, WorkflowEngineOptions, WorkflowSharedRuntimeState } from '../types.js';
interface WorkflowCallRunnerDeps {
    getConfig: () => WorkflowConfig;
    getMaxSteps: () => WorkflowMaxSteps;
    updateMaxSteps: (maxSteps: WorkflowMaxSteps) => void;
    state: WorkflowState;
    projectCwd: string;
    getCwd: () => string;
    task: string;
    getOptions: () => WorkflowEngineOptions;
    sharedRuntime: WorkflowSharedRuntimeState;
    resumeStackPrefix: WorkflowResumePointEntry[];
    runPaths: RunPaths;
    setActiveResumePoint: (step: WorkflowCallStep, iteration: number) => void;
    emit: (event: string, ...args: unknown[]) => void;
    resolveWorkflowCall: WorkflowCallResolver;
    createEngine: (config: WorkflowConfig, cwd: string, task: string, options: WorkflowEngineOptions) => WorkflowCallChildEngine;
}
export declare class WorkflowCallRunner {
    private readonly deps;
    private readonly executor;
    constructor(deps: WorkflowCallRunnerDeps);
    private resolveParentWorkflowProviderContext;
    private resolveChildProviderModel;
    resolveRuntime(step: WorkflowCallStep): RuntimeStepResolution;
    private buildChildPersonaProviders;
    private buildWorkflowCallResponse;
    run(step: WorkflowCallStep, runtime?: RuntimeStepResolution): Promise<StepRunResult>;
}
export {};
//# sourceMappingURL=WorkflowCallRunner.d.ts.map