import type { ExtensionAPI } from "@lpb-work/pi-coding-agent"; import { type SubagentState } from "../shared/types.ts"; export declare const NATIVE_SUPERVISOR_TOOL_NAME = "subagent_supervisor"; type SupervisorReason = "need_decision" | "interview_request" | "progress_update"; interface SupervisorRequest { type: "subagent.supervisor.request"; id: string; createdAt: number; expiresAt?: number; reason: SupervisorReason; message: string; expectsReply: boolean; orchestratorTarget?: string; orchestratorSessionId?: string; runId: string; agent: string; childIndex: number; childTarget?: string; interview?: unknown; } interface PendingSupervisorRequest extends SupervisorRequest { channelDir: string; requestFile: string; } export declare function resolveSupervisorChannelDir(runId: string, agent: string, childIndex: number): string; export declare function ensureSupervisorChannelDir(channelDir: string): void; export declare function registerNativeSupervisorClient(pi: ExtensionAPI, options?: { includeIntercomFallback?: boolean; }): void; export declare function createNativeSupervisorChannel(pi: ExtensionAPI, state: SubagentState): { start: () => void; dispose: () => void; pending: Map; }; export {}; //# sourceMappingURL=native-supervisor-channel.d.ts.map