import { OpenAlexClient } from "./openalex.js"; export interface DownloadWorkOptions { output?: string; overwrite?: boolean; onProgress?: (message: string) => void; } export interface DownloadWorkResult { workId: string; title?: string; filePath: string; sourceField: string; sourceUrl: string; finalUrl: string; contentType?: string; bytes: number; } export declare function downloadWorkFile(client: OpenAlexClient, workId: string, options?: DownloadWorkOptions): Promise; export declare function createDownloadProgressReporter(stream?: NodeJS.WriteStream): (message: string) => void;