import "../../../agent-spawn/dist/register-factories.js";
import type { SuperintendentDoc } from "../document/parse.js";
import { type TemplateContext } from "./templates.js";
import { type WorkflowTransition } from "./workflow-tool.js";
export type SuperintendentResult = {
    summary: string;
    transition?: WorkflowTransition;
    log_path?: string;
};
export type RunSuperintendentOptions = {
    defaultCwd: string;
    logPath?: string;
    signal?: AbortSignal;
};
export declare function runSuperintendent(doc: SuperintendentDoc, context: Partial<TemplateContext>, options: RunSuperintendentOptions): Promise<SuperintendentResult>;
