import { type HlsSegment } from './hls.js'; import type { LiveAccess, LiveRecording } from './types.js'; /** The bookkeeping types a recording is kept in. */ export declare const LIVE = "_live"; export declare const LIVE_SEGMENT = "_live_segment"; /** Where a recording's bytes are kept among the pack's resource blobs. */ export declare const initBlob: (stream: string, init: number) => string; export declare const segmentBlob: (stream: string, seq: number) => string; type Row = Record; export type LiveReads = { rows(type: string): Row[]; blob(key: string): Promise; }; /** A recording's kept segments, in order. */ export declare function segmentsOf(reads: LiveReads, stream: string): Array; export declare function recordingOf(row: Row, segments: ReadonlyArray): LiveRecording; /** `ctx.live` over a request (the one a media host answers, for its Range and its method). */ export declare function liveAccess(reads: LiveReads, request: Request): LiveAccess; export {};