export type Platform = "win32" | "darwin" | "linux"; export type Tool = "node" | "gh"; export interface DetectToolResult { present: boolean; version?: string; } export interface InstallToolResult { ok: boolean; message: string; manualUrl?: string; } export declare function currentPlatform(): Platform | "unsupported"; export declare function detectTool(tool: Tool): DetectToolResult; export declare function installTool(tool: Tool, platform: Platform): InstallToolResult; export declare function getInstallerCommand(tool: Tool, platform: Exclude): readonly string[]; export declare function getManualInstallUrl(tool: Tool): string; //# sourceMappingURL=installer.d.ts.map