import { AnalysisSession, type AnalysisOptions, type ExtractedFrame } from "./analysis-session"; /** * A second consumer of the runtime, built only on AnalysisSession's public * surface, with no reach into the cursor, cache, worker, or render loop. Its * existence is the proof that the analysis primitive is reusable: a thumbnail * strip or contact sheet is just a choice of which timestamps to pull, and the * open/close pair shows the full source lifecycle is reachable from the public * API alone. */ export declare class FrameExtractor { private readonly session; constructor(session: AnalysisSession); /** Opens a source and returns an extractor that owns it; close() disposes it. */ static open(options: AnalysisOptions): Promise; /** Frames at exactly the given timestamps (seconds). */ extractAt(timestampsS: readonly number[]): Promise; /** * `count` frames evenly spaced across the source, each sampled at the * middle of its slice so neither the first black frame nor the exact end * dominates the strip. */ evenlySpaced(count: number): Promise; /** One frame per keyframe in the range: a contact sheet that decodes cheaply. */ atKeyframes(startS?: number, endS?: number): Promise; /** Disposes the underlying analysis session. */ close(): Promise; }