/** What the running server knows about its own install, captured once at startup. */ export type InstallInfo = { name: string; version: string; /** Absolute path of the package directory this server was loaded from. */ location: string; }; export declare function captureInstall(version?: string): InstallInfo; export declare function describeInstall(install: InstallInfo): string; /** The suffix appended to every tool error so a stale, swapped, or removed install is obvious. */ export declare function installSuffix(error: unknown, install: InstallInfo, exists?: (path: string) => boolean): string;