NET-Web-API-w-Angular/my-app/node_modules/hdr-histogram-js/dist/encoding.d.ts

12 lines
657 B
TypeScript
Raw Normal View History

2024-02-09 00:38:41 +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 {};