import { type AcpEvent } from "../../packages/agent-spawn/dist/index.js"; import type { SpawnOptions, SpawnResult } from "./types.js"; export interface AutonomousSpawnOptions extends SpawnOptions { service: string; maxTimeoutRetries?: number; } export type SdkSpawnFn = (service: string, options: SpawnOptions) => { events: AsyncIterable; result: Promise; }; export declare function spawnAutonomous(sdkSpawn: SdkSpawnFn, options: AutonomousSpawnOptions): Promise;