import { GroupDataPoint, DataPoint } from '../types/data-point.js'; /** * Given an unordered list sorts descendingly and groups the list values based * on the distance between them, considering the given threshold and an accessor * to the numeric value * * @param list - unordered list to group * @param threshold - maximum distance allowed between two numeric values * @param accessor - accessor to the numeric value to group by */ export declare const groupByThreshold: (list: T[], threshold: number, accessor: (value: T) => number) => T[][]; export declare const getGroupedDataPointsByCoordinate: (xPoints: DataPoint[], coordinate: "y" | "x") => GroupDataPoint;