/** * Hash state that can be incrementally updated with multiple buffers. */ export declare class ContentHasher { private hash; /** * Update the hash with a typed array's underlying bytes. */ update(data: ArrayBufferView | ArrayBuffer): this; /** * Update the hash with a number (as 8 bytes). */ updateNumber(n: number): this; /** * Get the final hash as a hex string. */ digest(): string; /** * Get the raw hash value. */ digestNumber(): number; } /** * Create a content hash from multiple typed arrays. * Returns a hex string suitable for use as a content identifier. */ export declare function hashBuffers(...buffers: (ArrayBufferView | ArrayBuffer)[]): string; //# sourceMappingURL=content-hasher.d.ts.map