export declare const MAGIC_NUMBER = 1279874099;
export declare const FORMAT_VERSION = 1;
export declare const HEADER_SIZE = 16;
export declare const enum ValueType {
    Null = 0,
    Boolean = 1,
    Number = 2,
    String = 3,
    Array = 4,
    Object = 5,
    Undefined = 6
}
export interface HeaderLayout {
    magic: number;
    version: number;
    rootOffset: number;
    totalSize: number;
}
export interface ObjectEntry {
    keyOffset: number;
    keyLength: number;
    valueOffset: number;
}
export interface BinaryTreeOptions {
    initialSize?: number;
    growthFactor?: number;
}
export interface SerializeResult {
    buffer: ArrayBuffer;
    bytesUsed: number;
}
export type SerializablePrimitive = null | undefined | boolean | number | string;
export type SerializableValue = SerializablePrimitive | SerializableValue[] | {
    [key: string]: SerializableValue;
};
export interface WriteCursor {
    buffer: ArrayBuffer;
    view: DataView;
    uint8: Uint8Array;
    offset: number;
}
export interface ReadCursor {
    view: DataView;
    uint8: Uint8Array;
    offset: number;
}
export declare const TYPE_TAG_SIZE = 1;
export declare const LENGTH_SIZE = 4;
export declare const OFFSET_SIZE = 4;
export declare const OBJECT_ENTRY_SIZE = 12;
export declare const ARRAY_ENTRY_SIZE = 4;
export declare const NUMBER_SIZE = 8;
export declare const BOOLEAN_SIZE = 1;
//# sourceMappingURL=types.d.ts.map