Icard/angular-clarity-master(work.../node_modules/hdr-histogram-js/dist/encoding.d.ts

12 lines
657 B
TypeScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
import Histogram from "./Histogram";
export declare function decompress(data: Uint8Array): Uint8Array;
export declare const decodeFromCompressedBase64: (base64String: string, bitBucketSize?: 8 | 16 | 32 | 64 | "packed", useWebAssembly?: boolean, minBarForHighestTrackableValue?: number) => Histogram;
declare function encodeWasmIntoCompressedBase64(compressionLevel?: number): string;
declare module "./wasm" {
interface WasmHistogram {
encodeIntoCompressedBase64: typeof encodeWasmIntoCompressedBase64;
}
}
export declare const encodeIntoCompressedBase64: (histogram: Histogram, compressionLevel?: number | undefined) => string;
export {};