import type { DataXY } from 'cheminfo-types';
/**
 * Filter an array x/y based on various criteria x points are expected to be sorted
 * @param data - object containing 2 properties x and y.
 * @param nbPeaks - number of top peaks to keep.
 * @returns filtered data.
 */
export declare function xyFilterTopYValues(data: DataXY, nbPeaks?: number): DataXY<import("cheminfo-types").NumberArray>;
//# sourceMappingURL=xyFilterTopYValues.d.ts.map