import type { XIndex } from '../XIndex.ts'; import type { GSDPeakID } from '../gsd.ts'; import type { PeakData } from './PeakData.ts'; export interface GetPeakFromIntervalsOptions extends Pick { /** Right boundary (max side) of each peak interval. */ intervalR: XIndex[]; /** Left boundary (min side) of each peak interval. */ intervalL: XIndex[]; /** Candidate peak-center indices to match against the intervals. */ minData: number[]; } /** * Build the list of detected peaks by matching each `[left, right]` interval * with the best candidate index from `minData`. * @param options - Intervals, candidate indices and spectrum data. * @returns The detected peaks. */ export declare function getPeakFromIntervals(options: GetPeakFromIntervalsOptions): GSDPeakID[]; //# sourceMappingURL=getPeaksFromIntervals.d.ts.map