/** * How much the player has buffered ahead of its playhead, read through the analytics adapter the * integrator registered: its playhead and the media element behind its player. Best effort, never * throws; null when nothing usable is registered (the trial deadline then uses the chunk duration). */ export declare function mediaElementOf(player: unknown): HTMLMediaElement | null; /** Seconds buffered ahead of `playheadS` in `buffered`, 0 when the playhead sits in no range. */ export declare function secondsAhead(buffered: TimeRanges, playheadS: number): number; /** Reads the buffer ahead from one adapter (its `player` and `getPlayhead()`), or null. */ export declare function bufferAheadFromAdapter(adapter: unknown): number | null;