import type { ExtensionAPI, ExtensionHandler, SessionStartEvent, SessionShutdownEvent, BeforeAgentStartEvent, BeforeAgentStartEventResult, InputEvent, InputEventResult, TurnEndEvent, RegisteredCommand } from "@earendil-works/pi-coding-agent"; /** * Sole isolation point for all Pi SDK calls. * No other Core file may import ExtensionAPI directly — pass PiAdapter instead. * This makes the Pi boundary explicit and allows tests to mock the adapter. * * Note: resources_discover is not wrapped here because its event/result types * are not exported from the SDK's main entry point. The gatekeeper extension * (a CS-specific extension being removed in Phase 5) calls pi.on directly. */ export declare class PiAdapter { private readonly pi; constructor(pi: ExtensionAPI); onSessionStart(handler: ExtensionHandler): void; onSessionShutdown(handler: ExtensionHandler): void; onBeforeAgentStart(handler: ExtensionHandler): void; onInput(handler: ExtensionHandler): void; onTurnEnd(handler: ExtensionHandler): void; registerCommand(name: string, options: Omit): void; sendUserMessage(content: string): void; } //# sourceMappingURL=pi-adapter.d.ts.map