import type { DataXY } from 'cheminfo-types';
import type { XBinningOptions } from '../x/index.ts';
/**
 * Downsample x and y by averaging consecutive non-overlapping points.
 * Both arrays are binned with the same partitioning, so the resulting x
 * is the mean x of each bin.
 * @param data - object that contains x and y arrays.
 * @param options - binning options (same as xBinning).
 * @returns downsampled x and y arrays.
 */
export declare function xyBinning(data: DataXY, options?: XBinningOptions): DataXY<Float64Array>;
//# sourceMappingURL=xyBinning.d.ts.map