/** * Video polling and download utilities */ import { type SoraVideoResponse, type VideoStatus } from '../types/tools.js'; /** * Progress callback type */ export type ProgressCallback = (status: VideoStatus, attempt: number, maxAttempts: number) => void; /** * Poll for video generation result */ export declare function pollVideoResult(apiKey: string, videoId: string, pollInterval?: number, maxAttempts?: number, onProgress?: ProgressCallback): Promise; /** * Download video content from URL */ export declare function downloadVideo(url: string): Promise; /** * Download video from API content endpoint */ export declare function downloadVideoFromApi(apiKey: string, videoId: string): Promise; /** * Download and save video to file */ export declare function downloadAndSaveVideo(url: string, outputPath: string): Promise; /** * Download from API and save video to file */ export declare function downloadFromApiAndSave(apiKey: string, videoId: string, outputPath: string): Promise; /** * Validate video URL accessibility */ export declare function validateVideoUrl(url: string): Promise; //# sourceMappingURL=video.d.ts.map