import { type ProgramIO } from '../cli-helpers.js'; import type { DispatchOptions } from './sub-agent-shared.js'; export declare function runDetachedDispatch(io: ProgramIO, role: string, options: DispatchOptions, asJson: boolean): Promise;