export declare const STABLE_INDEX_URL = "https://pkgs.tailscale.com/stable/?mode=json"; export declare const STABLE_BASE = "https://pkgs.tailscale.com/stable"; export interface BinaryDownloadInfo { version: string; tarball: string; sha256: string; url: string; sha256Url: string; cachedPath: string; } export declare function cacheBinDir(): string; export declare function cacheBinPath(): string; export declare function detectArch(): string; export declare function latestStableInfo(): Promise<{ version: string; tarball: string; sha256: string; url: string; sha256Url: string; }>; export declare function downloadStable(options?: { skipChecksum?: boolean; }): Promise; export declare function cacheBinaryVersion(): Promise; export declare function updateCacheBinary(options?: { force?: boolean; skipChecksum?: boolean; }): Promise<{ cached: boolean; before?: string; after?: string; info?: BinaryDownloadInfo; }>; export interface WindowsInstallResult { version: string; msi: string; sha256: string; url: string; sha256Url: string; arch: string; cachedPath: string; installed: boolean; } export declare function latestWindowsInstallInfo(): Promise; export declare function installWindowsMsi(options?: { skipChecksum?: boolean; }): Promise; export declare function ensureBinary(): Promise<{ path: string; version: string; source: "cache" | "download" | "windows-msi"; }>; //# sourceMappingURL=binary.d.ts.map