import type { DataXY } from 'cheminfo-types'; /** * Refine the `x` and `y` coordinates of each peak by running a quadratic * interpolation over the peak and its 3 closest neighbors. * The correction is performed in place. * @param data - Object with `x` and `y` arrays. * @param peaks - Peaks to refine (mutated in place). */ export declare function optimizeTop(data: DataXY, peaks: Array<{ index: number; x: number; y: number; }>): void; //# sourceMappingURL=optimizeTop.d.ts.map