/** * Filter the array of peaks * @param {array} peaks - array of all the peaks * @param {object} [options={}] * @param {number} [options.from] - min X value of the window to consider * @param {number} [options.to] - max X value of the window to consider * @param {number} [options.threshold=0.01] - minimal intensity compare to base peak * @param {number} [options.limit=undefined] - maximal number of peaks (based on intensity) * @param {number} [options.sumValue] // if sumValue is defined, maxValue is ignored * @returns {array} - copy of peaks with 'close' annotation */ export function getPeaks(peaks: any[], options?: { from?: number | undefined; to?: number | undefined; threshold?: number | undefined; limit?: number | undefined; sumValue?: number | undefined; }): any[]; //# sourceMappingURL=getPeaks.d.ts.map