export declare const QA_DOWNLOAD_TIMEOUT_MS = 45000; export declare const QA_DOWNLOAD_MAX_BYTES: number; export interface DownloadFileResult { ok: boolean; path?: string; fileName?: string; bytes?: number; error?: string; } /** * Download `url` (or wait for an already-triggered download) into the run's * staging directory. Returns the staged absolute path. */ export declare function downloadTemplateFile(opts: { port: number; runId: string; url?: string; timeoutMs?: number; }): Promise;