/** * Filter the array of peaks * @param {array} peaks - array of all the peaks * @param {string} mf - Molecular formula of the parent molecule * @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 {string} [options.ionizations] * @param {number} [options.precision] * @returns {array} - copy of peaks with 'close' annotation */ export function getFragmentPeaks(peaks: any[], mf: string, options?: { from?: number | undefined; to?: number | undefined; threshold?: number | undefined; limit?: number | undefined; ionizations?: string | undefined; precision?: number | undefined; }): any[]; //# sourceMappingURL=getFragmentPeaks.d.ts.map