export interface TrackData {
    namespace: string[];
    name: string;
    authInfo?: string;
    maxInFlightRequests?: number;
    isHipri?: boolean;
    moqMapping?: string;
}
export interface ReceiverConfig {
    urlHostPort: string;
    isSendingStats: boolean;
    moqTracks: Record<string, TrackData>;
    certificateHash: any;
    systemVideoTimebase: number;
    systemAudioTimebase: number;
    verbose: boolean;
}
/**
 * MoQ subscriber Web Worker. Translates main-thread messages into calls on the
 * high-level MoQ API (src/moq/moq.ts) and demuxes received objects with
 * MIPackager into EncodedAudioChunk / EncodedVideoChunk for the player
 * pipeline. All MoQ protocol work (session, control loop, subscriptions,
 * object reception) lives in the `Moq`/`Subscription` classes.
 */
export declare class MoqReceiver {
    private config;
    private verbose;
    private moq;
    /** Entry point for the worker shell: routes one message to one handler. */
    onMessage(e: MessageEvent): Promise<void>;
    private parseReceiverConfig;
    private checkTrackData;
    /** Open the session and subscribe to the configured tracks. */
    handleInit(data: any): Promise<void>;
    private objectHandler;
    private handleObject;
    private reportStats;
    /** Stop subscribing and close the session. */
    handleStop(): void;
}
//# sourceMappingURL=moq_receiver_internals.d.ts.map