import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; export interface UpdateToolsResult { copied: number; skipped: number; validationPassed: boolean; messages: string[]; } /** * Copy all *.json from bundled .schemas/ to .forge/schemas/ in cwd. * Runs validate-store --dry-run after copy. * Exported so orchestrators can call directly without going through sendUserMessage. */ export declare function runUpdateTools(cwd: string, opts?: { _testBundleRoot?: string; _testToolsRoot?: string; }): Promise; export interface RegisterUpdateToolsOptions { /** Override bundle root — for testing only. */ _testBundleRoot?: string; /** Override tools root — for testing only. */ _testToolsRoot?: string; } export declare function registerUpdateTools(pi: ExtensionAPI, opts?: RegisterUpdateToolsOptions): void;