import type { Inflate } from "../io/source.js";
import { type Undo } from "../matroska/encoding.js";
import type { CueIndex, OpenedSegment, TrackEntry } from "../matroska/header.js";
import type { ContainerInfo } from "../vocabulary.js";
export interface FrameFile extends OpenedSegment {
    info: ContainerInfo;
    inflate: Inflate;
    firstClusterTicks(signal: AbortSignal): Promise<number | null>;
    cues(signal: AbortSignal): Promise<CueIndex>;
}
export interface TrackClaim {
    entry: TrackEntry;
    /** The NUMBER_OF_FRAMES the container states for the track, or null where it states none. */
    statedFrames: number | null;
    undo: Undo | null;
}
export declare function claimFor(entry: TrackEntry, file: FrameFile): TrackClaim | null;
/**
 * Whether `count` cues are taken to name every frame of the track.
 *
 * Unless the read is strict, a track that states no count is taken at its cues' word.
 */
export declare function vouchable({ statedFrames }: TrackClaim, count: number, strict: boolean): boolean;
