import type { DataXY, NumberArray } from 'cheminfo-types';
export interface XHistogramOptions {
    /**
     * Center each slot's x value at the mid-point of the bin rather than at the left edge.
     * @default true
     */
    centerX?: boolean;
    /**
     * Previously existing histogram to continue to fill
     * @default {x:[],y:[]}
     */
    histogram?: DataXY;
    /**
     * Number of slots
     * @default 256
     */
    nbSlots?: number;
    /**
     * Apply log base transformation to input x values before binning.
     * @default undefined
     */
    logBaseX?: number;
    /**
     * Apply log base transformation to the resulting histogram y counts.
     * @default undefined
     */
    logBaseY?: number;
    /**
     * Take the absolute value of each input element before binning.
     * @default false
     */
    absolute?: boolean;
    /**
     * Maximal value to calculate used to calculate slot size
     * @default maxValue
     */
    max?: number;
    /**
     * Minimum value to calculate used to calculate slot size
     * @default minValue
     */
    min?: number;
}
/**
 * Calculates a histogram of defined number of slots
 * @param array - array containing values.
 * @param options - options.
 * @returns result of the histogram.
 */
export declare function xHistogram(array: NumberArray, options?: XHistogramOptions): DataXY;
//# sourceMappingURL=xHistogram.d.ts.map