import { type KvPair } from '../moq/moqt.js';
export declare const LOC_PACKAGER_VERSION = "04+codecstringPR";
export declare const LOC_PROP_TIMESCALE = 8;
export declare const LOC_PROP_VIDEO_FRAME_MARKING = 9;
export declare const LOC_PROP_VIDEO_CONFIG = 13;
export declare const LOC_PROP_AUDIO_CONFIG = 15;
export declare const LOC_PROP_TIMESTAMP = 16;
export declare const LOC_PROP_CODECSTRING = 17;
export type LOCMediaType = 'audio' | 'video' | 'data';
export type LOCConfig = Uint8Array | ArrayBuffer;
export interface LOCData {
    mediaType: LOCMediaType;
    timestamp: number | undefined;
    timescale: number | undefined;
    codec: string | undefined;
    config: LOCConfig | undefined;
    data: any;
}
/**
 * One LOC object: the LOC Payload (the "internal data" of an EncodedAudioChunk
 * or EncodedVideoChunk, carried as the MoQ Object Payload) plus the LOC
 * Properties describing it (carried as MoQ Object Properties).
 *
 * The media type is NOT on the wire. LOC leaves that to the catalog; here the
 * publisher and the subscriber both know it from their own per-track config, so
 * it is passed to the constructor.
 */
export declare class LOCPackager {
    mediaType: LOCMediaType;
    timestamp: number | undefined;
    timescale: number | undefined;
    codec: string | undefined;
    config: LOCConfig | undefined;
    data: any;
    isDelta: boolean | undefined;
    eof: boolean;
    READ_BLOCK_SIZE: number;
    constructor(mediaType: LOCMediaType);
    SetData(timestamp: number | undefined, timescale: number | undefined, codec: string | undefined, config: LOCConfig | undefined, data: any, isDelta: boolean | undefined): void;
    ParseData(readerStream: any, properties: KvPair[], payloadLength?: number): Promise<void>;
    parseProperties(properties: KvPair[]): void;
    GetData(): LOCData;
    GetDataStr(): string;
    PayloadToBytes(): any;
    Properties(): KvPair[];
    IsEof(): boolean;
    IsDelta(): boolean;
}
export declare function LOCgetTrackName(trackPrefix: string, isAudio: boolean): string;
//# sourceMappingURL=loc_packager.d.ts.map