export declare const X_MIN = 0;
export declare const X_MAX = 1;
export declare const Y_MIN = 2;
export declare const Y_MAX = 3;
export declare const SPAN = 4;
export declare function maxRangeFittingPoints(data: any[], precision?: number): number;
export declare function aggregationDomain(domain: any[]): [number, number];
export declare function xRatioForDatumIndex(xValue: any, d0: number, d1: number): number;
export declare function aggregationIndexForXRatio(xRatio: number, maxRange: number): number;
export declare function createAggregationIndices(xValues: any[], yMaxValues: any[], yMinValues: any[], d0: number, d1: number, maxRange: number): {
    indexData: Int32Array;
    valueData: Float64Array;
};
export declare function compactAggregationIndices(indexData: Int32Array, valueData: Float64Array, maxRange: number, { inPlace }?: {
    inPlace?: boolean | undefined;
}): {
    maxRange: number;
    indexData: Int32Array;
    valueData: Float64Array;
};
