import type { RuntimeToolsConfig } from '../config/schema.js'; import type { RuntimeAsset, RuntimePlatform } from './catalog.js'; type DownloadConfig = RuntimeToolsConfig['download']; export interface ResolvedRuntimeDownload { url: string; sha256: string; source: 'website' | 'direct'; } export declare function runtimeGatewayPythonMirror(gatewayBaseUrl: string): string; export declare function canFallbackPythonInstall(output: string, timedOut: boolean): boolean; export declare function validateGatewayDescriptor(params: { value: unknown; gatewayBaseUrl: string; asset: RuntimeAsset; platform: RuntimePlatform; }): ResolvedRuntimeDownload; export declare function resolveRuntimeDownloadSource(params: { asset: RuntimeAsset; platform: RuntimePlatform; config: DownloadConfig; signal?: AbortSignal; onFallback?: (message: string) => void; }): Promise; export {};