export interface GroupPeaksOptions { /** * Multiplier applied to the average width of two adjacent peaks when * deciding whether to group them. * @default 1 */ groupingFactor?: number; /** * If provided, any group exceeding this size will be recursively split * at the largest normalised gap until all groups satisfy the constraint. * @default 15 */ maxNumberOfPeaks?: number; } /** * Group peaks based on a width-aware factor. * Only `x` and `width` are used, so the current implementation does not take * peak asymmetry into account. * @param peaks - Peaks with `x` and `width` properties. * @param options - Grouping options. * @returns Groups of peaks sorted by ascending `x`. */ export declare function groupPeaks(peaks: T[], options?: GroupPeaksOptions): T[][]; //# sourceMappingURL=groupPeaks.d.ts.map