import { type DepthClipFrames } from "supervision-js-core"; import type { MediaFrameClock } from "#types/media-frame-clock"; /** Where each depth frame of a clip sits on the media timeline. */ export interface DepthClipTiming { readonly frameCount: number; /** Depth frames per second, over the whole clip. */ readonly frameRate: number; /** The depth frame drawn over `mediaTime`, or null before the first. */ indexAt(mediaTime: number): number | null; timeAt(index: number): number; endAt(index: number): number; } /** * Pairs depth frames with the media's frames: one for one by index, or by * `frames.times_s` when depth covers only some of them. */ export declare function createDepthClipTiming(clock: MediaFrameClock, frames: DepthClipFrames): DepthClipTiming; //# sourceMappingURL=clip-timing.d.ts.map