export type BoxPart = Uint8Array | ArrayBuffer;
/** 4 ASCII characters (a box type or a brand) as bytes. */
export declare function fourCC(type: string): Uint8Array;
export declare function u8(value: number): Uint8Array;
export declare function u16(value: number): Uint8Array;
export declare function u24(value: number): Uint8Array;
export declare function u32(value: number): Uint8Array;
export declare function u64(value: number): Uint8Array;
export declare function i16(value: number): Uint8Array;
/** A fixed-point 16.16 value, the ISOBMFF encoding for rates and matrices. */
export declare function fixed16x16(value: number): Uint8Array;
/** A fixed-point 8.8 value (used by `smhd` balance and sample entry volume). */
export declare function fixed8x8(value: number): Uint8Array;
export declare function zeros(length: number): Uint8Array;
/** `size | type | payload`. */
export declare function box(type: string, ...parts: BoxPart[]): Uint8Array;
/** A box whose payload starts with the `version` + `flags` FullBox header. */
export declare function fullBox(type: string, version: number, flags: number, ...parts: BoxPart[]): Uint8Array;
/**
 * The identity 3x3 transformation matrix `tkhd` / `mvhd` carry (values are
 * 16.16 fixed point except the last column, which is 2.30).
 */
export declare const UNITY_MATRIX: Uint8Array<ArrayBufferLike>;
//# sourceMappingURL=box_writer.d.ts.map