export type ManagedTool = "fd" | "rg" | "rtk"; export declare function getToolPath(tool: ManagedTool): string | null; export declare function getLatestVersion(repo: string): Promise; export interface ToolStatus { type: "info" | "warning"; message: string; } /** * Ensure a tool is available, downloading if necessary. * Reports progress through `onStatus`; status messages are otherwise silent. * Returns the tool path, or undefined if unavailable. */ export declare function ensureTool(tool: ManagedTool, onStatus?: (status: ToolStatus) => void): Promise;