import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; export interface PiSubagentSessionBridge { readonly isSubagentSession: () => boolean; } declare global { var __piSubagentSessionBridgesByRuntime: WeakMap | undefined; } /** Publish child-session identity for co-loaded HEPI extensions. */ export declare function registerPiSubagentSessionBridge(pi: ExtensionAPI): void;