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