import type { ExtensionAPI, SessionEntry } from "@earendil-works/pi-coding-agent"; import { type CatalogTool } from "./catalog.js"; export declare const TOOLS_TOOL = "mcp_tools"; /** Only successful loader results on the current branch contribute exposure. */ export declare function restoredTools(entries: SessionEntry[]): CatalogTool[]; export declare class Exposure { private readonly pi; private readonly register; readonly definitions: Map; constructor(pi: ExtensionAPI, register: (tool: CatalogTool) => void); load(tools: CatalogTool[]): { loaded: CatalogTool[]; added: string[]; rejected: string[]; }; restore(tools: CatalogTool[]): void; }