import type { DataXY } from 'cheminfo-types';
import type { PointWithIndex } from '../types/index.ts';
export interface XYMaxYPointOptions {
    /**
     * First value for xyMaxYPoint in the X scale
     */
    from?: number;
    /**
     * First point for xyMaxYPoint
     * @default 0
     */
    fromIndex?: number;
    /**
     *  Last point for xyMaxYPoint
     * @default x.length-1
     */
    toIndex?: number;
    /**
     * Last value for xyMaxYPoint in the X scale
     */
    to?: number;
}
/**
 * Finds the max y value in a range and return a {x,y} point
 * @param data - object that contains property x (an ordered increasing array) and y (an array).
 * @param options - options.
 * @returns point with the highest y value in the range.
 */
export declare function xyMaxYPoint(data: DataXY, options?: XYMaxYPointOptions): PointWithIndex;
//# sourceMappingURL=xyMaxYPoint.d.ts.map