import type { _InternalEbmlValue, Ebml } from '@remotion/media-parser'; import { MediaParserInternals } from '@remotion/media-parser'; type Prettify = { [K in keyof T]: T[K]; } & {}; export declare const getIdForName: (name: string) => "0x114d9b74" | "0x1254c367" | "0x1549a966" | "0x1654ae6b" | "0x18538067" | "0x1a45dfa3" | "0x1c53bb6b" | "0x1f43b675" | "0x22b59c" | "0x23314f" | "0x23e383" | "0x258688" | "0x2ad7b1" | "0x4282" | "0x4285" | "0x4286" | "0x4287" | "0x42f2" | "0x42f3" | "0x42f7" | "0x4461" | "0x4487" | "0x4489" | "0x45a3" | "0x4d80" | "0x4dbb" | "0x536e" | "0x5378" | "0x53ab" | "0x53ac" | "0x53c0" | "0x54b0" | "0x54b2" | "0x54ba" | "0x55b0" | "0x55b1" | "0x55b7" | "0x55b8" | "0x55b9" | "0x55ba" | "0x55bb" | "0x55ee" | "0x56aa" | "0x56bb" | "0x5741" | "0x6264" | "0x63a2" | "0x63c0" | "0x63c5" | "0x67c8" | "0x6de7" | "0x6df8" | "0x7373" | "0x73a4" | "0x73c5" | "0x75a1" | "0x75a2" | "0x78b5" | "0x7ba9" | "0x83" | "0x86" | "0x88" | "0x9a" | "0x9b" | "0x9c" | "0x9f" | "0xa0" | "0xa1" | "0xa3" | "0xa7" | "0xae" | "0xb0" | "0xb3" | "0xb5" | "0xb7" | "0xba" | "0xbb" | "0xbf" | "0xcf" | "0xd7" | "0xe0" | "0xe1" | "0xe7" | "0xec" | "0xf0" | "0xf1" | "0xf7" | "0xfb"; export declare const combineUint8Arrays: (arrays: Uint8Array[]) => Uint8Array; export type OffsetAndChildren = { offset: number; children: OffsetAndChildren[]; field: keyof typeof MediaParserInternals.matroskaElements; }; export declare const incrementOffsetAndChildren: (offset: OffsetAndChildren, increment: number) => OffsetAndChildren; export declare const matroskaToHex: (matrId: "0x1043a770" | "0x114d9b74" | "0x1254c367" | "0x1549a966" | "0x1654ae6b" | "0x18538067" | "0x1941a469" | "0x1a45dfa3" | "0x1c53bb6b" | "0x1f43b675" | "0x22b59c" | "0x22b59d" | "0x23314f" | "0x234e7a" | "0x2383e3" | "0x23e383" | "0x258688" | "0x26b240" | "0x2ad7b1" | "0x2eb524" | "0x2fb523" | "0x3a9697" | "0x3b4040" | "0x3c83ab" | "0x3cb923" | "0x3e83bb" | "0x3eb923" | "0x41a4" | "0x41e4" | "0x41e7" | "0x41ed" | "0x41f0" | "0x4254" | "0x4255" | "0x4282" | "0x4285" | "0x4286" | "0x4287" | "0x42f2" | "0x42f3" | "0x42f7" | "0x437c" | "0x437d" | "0x437e" | "0x4444" | "0x4461" | "0x447a" | "0x447b" | "0x4484" | "0x4485" | "0x4487" | "0x4489" | "0x44b4" | "0x450d" | "0x4520" | "0x4521" | "0x4588" | "0x4598" | "0x45a3" | "0x45b9" | "0x45bc" | "0x45bd" | "0x45db" | "0x45dd" | "0x45e4" | "0x465c" | "0x4660" | "0x4661" | "0x4662" | "0x466e" | "0x4675" | "0x467e" | "0x46ae" | "0x47e1" | "0x47e2" | "0x47e3" | "0x47e4" | "0x47e5" | "0x47e6" | "0x47e7" | "0x47e8" | "0x4d80" | "0x4dbb" | "0x5031" | "0x5032" | "0x5033" | "0x5034" | "0x5035" | "0x52f1" | "0x535f" | "0x536e" | "0x5378" | "0x537f" | "0x53ab" | "0x53ac" | "0x53b8" | "0x53b9" | "0x53c0" | "0x54aa" | "0x54b0" | "0x54b2" | "0x54b3" | "0x54ba" | "0x54bb" | "0x54cc" | "0x54dd" | "0x55aa" | "0x55ab" | "0x55ac" | "0x55ad" | "0x55ae" | "0x55af" | "0x55b0" | "0x55b1" | "0x55b2" | "0x55b3" | "0x55b4" | "0x55b5" | "0x55b6" | "0x55b7" | "0x55b8" | "0x55b9" | "0x55ba" | "0x55bb" | "0x55bc" | "0x55bd" | "0x55d0" | "0x55d1" | "0x55d2" | "0x55d3" | "0x55d4" | "0x55d5" | "0x55d6" | "0x55d7" | "0x55d8" | "0x55d9" | "0x55da" | "0x55ee" | "0x5654" | "0x56aa" | "0x56bb" | "0x5741" | "0x5854" | "0x58d7" | "0x61a7" | "0x6240" | "0x6264" | "0x63a2" | "0x63c0" | "0x63c3" | "0x63c4" | "0x63c5" | "0x63c6" | "0x63c9" | "0x63ca" | "0x6624" | "0x66a5" | "0x66bf" | "0x66fc" | "0x67c8" | "0x68ca" | "0x6911" | "0x6922" | "0x6924" | "0x6933" | "0x6944" | "0x6955" | "0x69a5" | "0x69bf" | "0x69fc" | "0x6d80" | "0x6de7" | "0x6df8" | "0x6e67" | "0x6ebc" | "0x6fab" | "0x7373" | "0x7384" | "0x73a4" | "0x73c4" | "0x73c5" | "0x7446" | "0x75a1" | "0x75a2" | "0x7670" | "0x7671" | "0x7672" | "0x7673" | "0x7674" | "0x7675" | "0x78b5" | "0x7ba9" | "0x7d7b" | "0x80" | "0x83" | "0x85" | "0x86" | "0x88" | "0x89" | "0x8e" | "0x8f" | "0x91" | "0x92" | "0x96" | "0x97" | "0x98" | "0x9a" | "0x9b" | "0x9c" | "0x9d" | "0x9f" | "0xa0" | "0xa1" | "0xa2" | "0xa3" | "0xa4" | "0xa5" | "0xa6" | "0xa7" | "0xaa" | "0xab" | "0xae" | "0xaf" | "0xb0" | "0xb2" | "0xb3" | "0xb5" | "0xb6" | "0xb7" | "0xb9" | "0xba" | "0xbb" | "0xbf" | "0xc0" | "0xc1" | "0xc4" | "0xc6" | "0xc7" | "0xc8" | "0xc9" | "0xca" | "0xcb" | "0xcc" | "0xcd" | "0xce" | "0xcf" | "0xd7" | "0xdb" | "0xe0" | "0xe1" | "0xe2" | "0xe3" | "0xe4" | "0xe5" | "0xe6" | "0xe7" | "0xe8" | "0xe9" | "0xea" | "0xeb" | "0xec" | "0xed" | "0xee" | "0xf0" | "0xf1" | "0xf7" | "0xfa" | "0xfb" | "0xfd") => Uint8Array; export type BytesAndOffset = { bytes: Uint8Array; offsets: OffsetAndChildren; }; export type EbmlValueOrUint8Array = Uint8Array | _InternalEbmlValue; export type EbmlParsedOrUint8Array = { type: T['name']; value: EbmlValueOrUint8Array; minVintWidth: number | null; }; export declare const measureEBMLVarInt: (value: number) => 1 | 2 | 3 | 4 | 5 | 6; export declare const getVariableInt: (value: number, minWidth: number | null) => Uint8Array; export declare const makeMatroskaBytes: (fields: PossibleEbmlOrUint8Array) => BytesAndOffset; export type PossibleEbmlOrUint8Array = Prettify<{ [key in keyof typeof MediaParserInternals.ebmlMap]: EbmlParsedOrUint8Array<(typeof MediaParserInternals.ebmlMap)[key]>; }[keyof typeof MediaParserInternals.ebmlMap]> | BytesAndOffset; export type EbmlMapKey = keyof typeof MediaParserInternals.ebmlMap; export declare const padMatroskaBytes: (fields: PossibleEbmlOrUint8Array, totalLength: number) => BytesAndOffset[]; export declare function serializeUint16(value: number): Uint8Array; export {};