import type { ExecuteCompiledDagResult } from "../orchestration/compiled-dag-executor.js";
import type { OmkUxIntent, RoutedPrompt } from "../ux/intent-router.js";
import type { NaturalPromptOptions, OmkUxMode } from "../ux/natural-entrypoint.js";
export interface DoCommandOptions extends NaturalPromptOptions {
    root?: string;
    cwd?: string;
    now?: () => Date;
    emit?: boolean;
    signal?: AbortSignal;
}
export interface DoCommandResult {
    success: boolean;
    runId: string;
    inputId: string;
    intent: OmkUxIntent;
    mode: OmkUxMode;
    safety: RoutedPrompt["safety"];
    execution: RoutedPrompt["execution"];
    dryRun: boolean;
    paths: {
        inputEnvelope: string;
        inputHistory: string;
        runDir: string;
        dag: string;
        dagReport: string;
    };
    loop?: Pick<ExecuteCompiledDagResult, "loopDecision" | "loopState" | "loopArtifacts">;
}
export declare function doCommand(prompt: string, options?: DoCommandOptions): Promise<DoCommandResult>;
