export declare const NUM_DISTANCE_HISTOGRAM_SYMBOLS = 544; export interface HistogramLiteral { data: Uint32Array; totalCount: number; bitCost: number; } export interface HistogramCommand { data: Uint32Array; totalCount: number; bitCost: number; } export interface HistogramDistance { data: Uint32Array; totalCount: number; bitCost: number; } export declare function createHistogramLiteral(): HistogramLiteral; export declare function createHistogramCommand(): HistogramCommand; export declare function createHistogramDistance(): HistogramDistance; export declare function histogramClear(histogram: T): void; export declare function clearHistograms(histograms: T[]): void; export declare function histogramAdd(histogram: T, symbol: number): void; export declare function histogramAddVector(histogram: T, symbols: Uint8Array | Uint16Array, start: number, count: number): void; export declare function histogramAddHistogram(dest: T, src: T): void; export declare function histogramNumNonZero(histogram: T): number; export declare function buildLiteralHistogram(data: Uint8Array, start: number, length: number): HistogramLiteral; export declare function buildHistogram(symbols: Uint8Array | Uint16Array | Uint32Array, start: number, length: number, alphabetSize: number): Uint32Array; import { BlockSplit } from './block-splitter'; export type { BlockSplit }; /** * Iterator for walking through block splits */ export declare class BlockSplitIterator { private split; private idx; type: number; private length; constructor(split: BlockSplit); next(): void; } export declare function createEmptyBlockSplit(): BlockSplit; //# sourceMappingURL=histogram.d.ts.map