import type { VectorStorageItem } from "./vector-storage"; import { WrappedBuffer } from "./wrapped-buffer"; export declare const PROTOCOL_VERSION = 97; export declare const FINGERPRINT_SIZE = 16; export declare enum Mode { Skip = 0, Fingerprint = 1, IdList = 2 } /** * Decode variable int, also consumes the bytes from buf */ export declare function decodeVarInt(buf: Uint8Array | WrappedBuffer): number; export declare function encodeVarInt(n: number): Uint8Array; export declare function getByte(buf: WrappedBuffer): number; export declare function getBytes(buf: WrappedBuffer | Uint8Array, n: number): Uint8Array; export declare function compareUint8Array(a: Uint8Array, b: Uint8Array): 0 | 1 | -1; export declare function itemCompare(a: VectorStorageItem, b: VectorStorageItem): number; //# sourceMappingURL=utils.d.ts.map