import type { RuntimeKind } from './types.js'; export declare function canFallbackRuntimeDownload(error: unknown): boolean; export declare function resolveExpectedChecksum(params: { runtime: 'node' | 'uv'; checksumUrl: string; archiveFile: string; timeoutMs: number; proxy?: string; signal?: AbortSignal; }): Promise; export declare function sha256File(path: string): Promise; export declare function downloadVerifiedArchive(params: { runtime: RuntimeKind; url: string; targetPath: string; expectedSha256: string; timeoutMs: number; proxy?: string; signal?: AbortSignal; onProgress?: (downloadedBytes: number, totalBytes?: number) => void; }): Promise;