import type { DetectionFrameSourceVersionRange } from "#types/detection-timeline"; /** * Slack allowed when comparing two range ends. * * Range bounds are computed from frame times and durations, so an end that * should meet another exactly can miss it by a float's last bits. */ export declare const RANGE_EPSILON_SECONDS = 0.000001; /** * Whether the available ranges together span the whole of `range`. * * Detections arrive a batch at a time, and a source that has not coalesced its * ranges holds several that abut. Asking each range on its own whether it spans * the window reports a window that is entirely covered as uncovered, so the * walk below spends ranges in order and asks how far their union reaches. */ export declare function isRangeCovered(range: DetectionFrameSourceVersionRange, availableRanges: readonly DetectionFrameSourceVersionRange[]): boolean; //# sourceMappingURL=detection-ranges.d.ts.map