import { FullBox } from '../../../../../../providers/DashProviderNew/lib/parsers/mpeg/fullBox';
import { type BoxParser } from '../../../../../../providers/DashProviderNew/lib/parsers/mpeg/BoxParser';
export type SidxBoxSegment = {
    referenceType: number;
    referencedSize: number;
    subsegmentDuration: number;
    SAPType: number;
    SAPDeltaTime: number;
};
/**
 * aligned(8) class SegmentIndexBox extends FullBox(‘sidx’, version, 0) {
 *    unsigned int(32) reference_ID;
 *    unsigned int(32) timescale;
 *    if (version==0) {
 *          unsigned int(32) earliest_presentation_time;
 *          unsigned int(32) first_offset;
 *       }
 *       else {
 *          unsigned int(64) earliest_presentation_time;
 *          unsigned int(64) first_offset;
 *       }
 *    unsigned int(16) reserved = 0;
 *    unsigned int(16) reference_count;
 *    for(i=1; i <= reference_count; i++)
 *    {
 *       bit (1)           reference_type;
 *       unsigned int(31)  referenced_size;
 *       unsigned int(32)  subsegment_duration;
 *       bit(1)            starts_with_SAP;
 *       unsigned int(3)   SAP_type;
 *       unsigned int(28)  SAP_delta_time;
 *    }
 * }
 */
export declare class SidxBox extends FullBox {
    referenceId: number;
    timescale: number;
    earliestPresentationTime32: number;
    firstOffset32: number;
    earliestPresentationTime64: number;
    firstOffset64: number;
    reserved: number;
    referenceCount: number;
    segments: SidxBoxSegment[];
    get earliestPresentationTime(): number;
    get firstOffset(): number;
    constructor(source: DataView, boxParser: BoxParser);
}
