import type { Sandbox } from '@vercel/sandbox'; import type { AudioCodec, Bitrate, ChromiumOptions, Codec, ColorSpace, FrameRange, HardwareAccelerationOption, LogLevel, PixelFormat, ProResProfile, RenderMediaOnVercelProgress, VercelBlobUploadOptions, VideoImageFormat, X264Preset } from './types'; type RenderMediaOnVercelBaseOptions = { sandbox: Sandbox; compositionId: string; inputProps: Record; onProgress?: (progress: RenderMediaOnVercelProgress) => Promise | void; outputFile?: string; codec?: Codec; crf?: number | null; imageFormat?: VideoImageFormat | null; pixelFormat?: PixelFormat | null; envVariables?: Record; frameRange?: FrameRange | null; everyNthFrame?: number; proResProfile?: ProResProfile; chromiumOptions?: ChromiumOptions; scale?: number; preferLossless?: boolean; enforceAudioTrack?: boolean; disallowParallelEncoding?: boolean; concurrency?: number | string | null; metadata?: Record | null; licenseKey?: string | null; videoBitrate?: Bitrate | null; audioBitrate?: Bitrate | null; encodingMaxRate?: Bitrate | null; encodingBufferSize?: Bitrate | null; muted?: boolean; numberOfGifLoops?: number | null; x264Preset?: X264Preset | null; gopSize?: number | null; colorSpace?: ColorSpace; jpegQuality?: number; audioCodec?: AudioCodec | null; logLevel?: LogLevel; timeoutInMilliseconds?: number; forSeamlessAacConcatenation?: boolean; separateAudioTo?: string | null; hardwareAcceleration?: HardwareAccelerationOption; offthreadVideoCacheSizeInBytes?: number | null; mediaCacheSizeInBytes?: number | null; offthreadVideoThreads?: number | null; sampleRate?: number; detachedSandboxTimeoutInMilliseconds?: number; }; type RenderMediaOnVercelRegularOptions = RenderMediaOnVercelBaseOptions & { detached?: false; }; type RenderMediaOnVercelDetachedOptions = RenderMediaOnVercelBaseOptions & { detached: true; vercelBlob: VercelBlobUploadOptions; }; type RenderMediaOnVercelFunction = { (options: RenderMediaOnVercelDetachedOptions): Promise<{ sandboxId: string; cmdId: string; outputFile: string; }>; (options: RenderMediaOnVercelRegularOptions): Promise<{ sandboxFilePath: string; contentType: string; }>; }; export declare const renderMediaOnVercel: RenderMediaOnVercelFunction; export {};