import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; import type { HookExecutionResult, RuntimeSnapshot } from "./types.js"; /** Execute the foreign format's intentional shell-command boundary with bounded lifetime and output. */ export declare function executeHookCommand(input: Readonly<{ command: string; cwd: string; environment: Readonly>; timeoutMs: number; signal?: AbortSignal; stdin: unknown; }>): Promise; export declare function registerPluginHooks(pi: ExtensionAPI, snapshot: RuntimeSnapshot): void;