import { type LatestVersionResolver } from "./upgrade.js"; export interface UpdateCheckRuntime { env: NodeJS.ProcessEnv; homeDir?: string; isTTY: boolean; now?: () => number; platform?: NodeJS.Platform; resolveLatestVersion?: LatestVersionResolver; timeoutMs?: number; writeNotice: (notice: string) => void; } export declare function updateCheckCachePath(env: NodeJS.ProcessEnv, homeDir?: string, platform?: NodeJS.Platform): string; /** * Starts the registry request synchronously and returns its best-effort promise * without making launcher routing wait for the network. The bounded request may * keep a short command alive only until its timeout, and every failure stays * silent by design. */ export declare function startUpdateCheck(args: string[], cwd: string, launcherVersion: string, runtime: UpdateCheckRuntime): Promise | null; //# sourceMappingURL=update-check.d.ts.map