import type { MediaType } from '../../core/Constants';
import type { DataStreamAtom } from '../../core/state/data-stream/DataStreamAtom';
import type { ContextWithState } from '../../Types';
export declare enum ContainerFormat {
    MP4 = "mp4",
    TS = "mp2t",
    WebM = "webm",
    Unknown = "unknown"
}
export interface Fragment {
    data: Uint8Array;
}
export interface SegmentData {
    mediaTypes: MediaType[];
    fragments: DataStreamAtom<Fragment>;
    containerFormat: ContainerFormat;
}
export type SegmentDataAtom = ReturnType<typeof createSegmentDataAtom>;
export declare const createSegmentDataAtom: (context: ContextWithState, initialData: SegmentData) => import("../../core/state/Types").StateAtom<SegmentData, {}>;
