export declare function getToolPath(tool: "fd" | "rg"): string | null; export declare function getLatestVersion(repo: string): Promise; /** A managed-tool readiness update, reported to the caller that asked. */ export interface ToolStatus { type: "info" | "warning"; message: string; } /** * Ensure a tool is available, downloading if necessary. * * Progress and problems are reported through `onStatus`; the function never * writes to the console itself, because in a fullscreen session a console * write lands in the alternate screen and corrupts the frame. Callers without * a status sink stay silent. * * Returns the tool path, or undefined if unavailable. */ export declare function ensureTool(tool: "fd" | "rg", onStatus?: (status: ToolStatus) => void): Promise; //# sourceMappingURL=tools-manager.d.ts.map