import { type LogLevel } from 'remotion'; import type { MediaCache } from '../caches'; import type { MediaRequestInit } from '../request-init'; type ExtractFrameResult = { type: 'success'; frame: VideoFrame | null; rotation: number; durationInSeconds: number | null; } | { type: 'cannot-decode'; durationInSeconds: number | null; } | { type: 'cannot-decode-prores'; durationInSeconds: number | null; } | { type: 'cannot-decode-alpha'; durationInSeconds: number | null; } | { type: 'unknown-container-format'; } | { type: 'network-error'; }; type ExtractFrameParams = { src: string; timeInSeconds: number; logLevel: LogLevel; loop: boolean; trimAfter: number | undefined; trimBefore: number | undefined; playbackRate: number; fps: number; maxCacheSize: number; credentials: RequestCredentials | undefined; requestInit?: MediaRequestInit; mediaCache: MediaCache; }; export declare const extractFrame: (params: ExtractFrameParams) => Promise; export {};