import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; /** * Block subagent spawns that use a bare role/built-in name while a custom * agent is mapped for that role — the built-in is read-only and stalls the * run. Only active during a senai run; everything else passes through. * Also record the artifact paths each spawn is expected to write, so the * completion guard below can verify them. */ export declare function registerToolCallHook(pi: ExtensionAPI): void;