/**
 * TestChildAgentPort — In-memory ChildAgentPort for unit testing.
 *
 * Workers execute synchronously in-process. Use for agent unit tests
 * that need supervisor-worker patterns without external infrastructure.
 *
 * @public
 */
import type { ChildAgentPort, ChildAgentOptions, ChildAgentResult } from "../orchestration/ooda/child-agent.js";
export declare class TestChildAgentPort implements ChildAgentPort {
    private workers;
    private nextWorkerId;
    private spyFn?;
    /**
     * Set a spy function that intercepts worker execution.
     * The spy receives the ChildAgentOptions and returns the output.
     */
    spy(fn: (opts: ChildAgentOptions) => Promise<unknown>): void;
    spawnAsync(opts: ChildAgentOptions): Promise<{
        workerId: string;
    }>;
    spawnSync(opts: ChildAgentOptions): Promise<ChildAgentResult>;
    /** Get worker status. */
    getWorker(workerId: string): {
        opts: ChildAgentOptions;
        status: string;
        output?: unknown;
    } | undefined;
    /** Clear all state. */
    reset(): void;
}
//# sourceMappingURL=test-child-agent.d.ts.map