import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent"; import type { AgentRunResult } from "./types.js"; export declare const AGENT_COMPLETION_MESSAGE_TYPE = "pi-fabric-agent-complete"; type Completion = Pick; /** Own notifications until the tool batch ends, so a late wait can still retract them. */ export declare class AgentCompletionInbox { #private; readonly pi: ExtensionAPI; readonly observed: (id: string) => boolean; constructor(pi: ExtensionAPI, context: ExtensionContext, observed?: (id: string) => boolean); enqueue(result: Completion, delivered?: () => void): void; acknowledge(id: string): void; close(): void; } export {}; //# sourceMappingURL=completion-inbox.d.ts.map