import type { FetchImpl } from "../../types.js"; /** agy's isolated configuration/conversation root; account subdirectories are selected by the transport. */ export declare function agyGeminiDir(): string; /** Resolves an existing override or installs agy; subsequent calls check for updates at most daily. */ export declare function resolveAgyBinary(fetchImpl?: FetchImpl): Promise; /** Installs a verified release into `directory`; versioned paths keep running processes valid during updates. */ export declare function ensureAgyInstalled(directory: string, fetchImpl?: FetchImpl): Promise; /** Google's manifest platform key, including Alpine's musl userland. */ export declare function agyPlatformKey(platform?: NodeJS.Platform, arch?: string): Promise; /** Refreshes an expired installation check, coalescing callers and retaining old releases on failure. */ export declare function updateAgyBinary(directory: string, fetchImpl?: FetchImpl): Promise;