export type AvcConfig = { /** the AVCDecoderConfigurationRecord as sent, which an `avcC` box holds as is (ISO/IEC 14496-15 ยง5.3.3.1) */ record: Uint8Array; /** the RFC 6381 codec string: `avc1.` and the profile, constraint flags and level, in hex */ codec: string; width: number; height: number; }; export type AacConfig = { /** the AudioSpecificConfig as sent, which an `esds` box's DecoderSpecificInfo holds as is */ asc: Uint8Array; codec: string; objectType: number; sampleRate: number; channels: number; }; export type VideoTag = { kind: 'config'; config: AvcConfig; } | { kind: 'frame'; key: boolean; cts: number; data: Uint8Array; } | { kind: 'other'; } | { kind: 'unsupported'; codec: string; }; export type AudioTag = { kind: 'config'; config: AacConfig; } | { kind: 'frame'; data: Uint8Array; } | { kind: 'unsupported'; codec: string; }; export declare function readVideoTag(p: Uint8Array): VideoTag; export declare function readAudioTag(p: Uint8Array): AudioTag;