import type { DecodedMediaSource } from "#media/media-source"; /** * Normalizes a decoded media source onto a zero-based presentation timeline. * * Media trimmed through an edit list — B-frame pre-roll is the common case — * carries a few decodable samples ahead of presentation time zero, and the * container reports a negative first timestamp for them. Those samples are not * meant to be presented, but a renderer that starts its clock at the reported * first timestamp would show negative session time and would look for * detections outside `[0, duration]`, where no producer writes them. * * This reports the presentation start as the first timestamp, drops samples * that end before zero, and presents the sample straddling zero at zero. * Sources that already start at or after zero are returned unchanged. */ export declare function normalizeMediaSourcePresentationTimeline(source: DecodedMediaSource): DecodedMediaSource; //# sourceMappingURL=presentation-timeline-media-source.d.ts.map