/** One box: its type, where it starts, and the bytes after its header. */
export interface Box {
    type: string;
    start: number;
    size: number;
    payload: Uint8Array;
}
/**
 * Top-level boxes of a buffer. Stops at the first malformed / truncated box
 * rather than throwing: a partially received object still yields the boxes that
 * did arrive.
 */
export declare function parseBoxes(buf: Uint8Array): Box[];
/** Boxes contained in a container box (or in a sample entry). */
export declare function childBoxes(box: Box): Box[];
/**
 * Look a box up by a '/' separated path, e.g. 'moov/trak/mdia/mdhd'.
 * Returns undefined when any step of the path is missing.
 */
export declare function findBox(buf: Uint8Array, path: string): Box | undefined;
//# sourceMappingURL=box_reader.d.ts.map