import type { AgentModelInput, IAgentSession } from '../../../agent/types.js'; import type { TraceSink } from '../../../agent/trace/index.js'; import type { WorkspaceStore } from '../../../agent/workspace/index.js'; export type ParallelizeDispatchResult = { kind: 'skipped'; reason: 'too-few-files' | 'skill-body-missing'; } | { kind: 'plan'; plan: unknown; } | { kind: 'failed'; error: string; }; export declare function runParallelizeDispatch(plan: string, parentSession: IAgentSession, skillCallId?: string, defaultSubagentModel?: AgentModelInput, parentReadRoots?: string[], traceWriter?: TraceSink, workspaceStore?: WorkspaceStore): Promise;