/*! * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ export interface IBinOptions { ids: Uint32Array; values: Float64Array; bins: number; minValue: number; maxValue: number; isDiscrete: boolean; binIds: Uint32Array; offset?: number; count?: number; counts?: Uint32Array; froms?: Float64Array; tos?: Float64Array; } export interface IQuantileOptions { ids: Uint32Array; values: Float64Array; bins: number; binIds: Uint32Array; offset?: number; count?: number; froms?: Float64Array; tos?: Float64Array; } export declare class BinHelper { static quantile(options: IQuantileOptions): number; static bin(options: IBinOptions): number; static maxBins(minValue: number, maxValue: number, isDiscrete: boolean, maxBins: number): number; }