import type { Dag } from "../../orchestration/dag.js";
import type { RunState } from "../../contracts/orchestration.js";
import type { ProviderPolicy } from "../../providers/index.js";
import type { IntentFrame } from "../../contracts/goal.js";
import type { ExecutionStrategy } from "../../contracts/orchestration.js";
import { parseProviderModelArg } from "../../providers/model-registry.js";
import { getOmkResourceSettings } from "../../util/resource-profile.js";
export declare function normalizeWorkerCount(value: string | undefined, fallback: number): number;
export declare function executeParallelRun(input: {
    runId: string;
    dag: Dag;
    routedState: RunState;
    statePath: string;
    options: {
        noPause?: boolean;
        chat?: boolean;
        signal?: AbortSignal;
        timeoutPreset?: string;
        alternateScreen?: boolean;
        compact?: boolean;
        view?: string;
        noWatch?: boolean;
        watch?: boolean;
    };
    root: string;
    runDir: string;
    resources: Awaited<ReturnType<typeof getOmkResourceSettings>>;
    effectiveGoal: string;
    workerCount: number;
    approvalPolicy: "interactive" | "auto" | "yolo" | "block";
    providerPolicy: ProviderPolicy;
    modelArg: ReturnType<typeof parseProviderModelArg>;
    mcpScope: "all" | "project" | "none";
    executionPrompt: string;
    agentFile: string;
    promptText: string;
    intentFrame: IntentFrame;
    deepseekPromptPrefix: string;
    executionStrategy: ExecutionStrategy;
}): Promise<{
    runId: string;
    success: boolean;
}>;
