export type IsoBox = { /** * - The 4-character box type. */ type: string; /** * - The offset of the first header byte. */ start: number; /** * - The offset of the first payload byte. */ dataStart: number; /** * - The offset after the last payload byte. */ dataEnd: number; /** * - The offset after the box. */ end: number; }; /** * Reads the header of the box starting at the current reader offset. * @param {import('./TinyBufferReader.mjs').default} reader - The binary cursor used for reading. * @param {number} end - The absolute offset marking the end of the readable buffer. * @returns {IsoBox} The parsed box header containing metadata about the box. * @throws {TinyNeedMoreData} If the buffer is truncated and cannot provide the full header or payload size. */ export declare function readBox(reader: import('./TinyBufferReader.mjs').default, end: number): IsoBox; /** * A generator that iterates over all sibling boxes within the specified byte range. * @param {import('./TinyBufferReader.mjs').default} reader - The binary cursor used for reading. * @param {number} start - The absolute offset where the sequence of boxes begins. * @param {number} end - The absolute offset marking the end of the range. * @yields {IsoBox} Every complete ISO box found in the specified range. */ export declare function boxes(reader: import('./TinyBufferReader.mjs').default, start: number, end: number): Generator; /** * Recursively searches through the box tree for the first box that matches one of the specified types. * @param {import('./TinyBufferReader.mjs').default} reader - The binary cursor used for reading. * @param {number} start - The absolute offset where the search begins. * @param {number} end - The absolute offset marking the end of the search range. * @param {ReadonlySet} types - A set of 4-character box types to match against. * @param {number} [depth] - The current recursion depth, used to prevent infinite loops or stack overflows. * @returns {IsoBox|null} The first matching box header found, or null if no match exists within the range. */ export declare function findBox(reader: import('./TinyBufferReader.mjs').default, start: number, end: number, types: ReadonlySet, depth?: number): IsoBox | null; //# sourceMappingURL=TinyIsoBox.d.mts.map