import type { TaskOutput } from './types.js'; /** * Download a file from a URL to a local path */ export declare function downloadFile(url: string, outputPath: string, options?: { onProgress?: (percent: number) => void; }): Promise; /** * Generate a filename from a URL */ export declare function getFilenameFromUrl(url: string): string; /** * Generate a filename for a task output */ export declare function generateOutputFilename(output: TaskOutput, index: number, taskId: string): string; /** * Download task outputs to a directory */ export declare function downloadTaskOutputs(outputs: TaskOutput[], outputDir: string, taskId: string): Promise;