import type { DataXY, FromTo } from 'cheminfo-types';
export interface XYEquallySpacedOptions {
    /**
     * Start of the output x range.
     * @default x[0]
     */
    from?: number;
    /**
     * End of the output x range.
     * @default x[x.length-1]
     */
    to?: number;
    /**
     * `slot` averages y values within each bin; `smooth` uses the trapezoidal integral divided by the step size.
     * @default 'smooth'
     */
    variant?: 'slot' | 'smooth';
    /**
     * number of points
     * @default 100
     */
    numberOfPoints?: number;
    /**
     * array of from / to that should be skipped for the generation of the points
     * @default []
     */
    exclusions?: FromTo[];
    /**
     * array of from / to that should be kept
     * @default []
     */
    zones?: FromTo[];
}
/**
 * Resample a spectrum to equally spaced x points.
 * When `exclusions` are provided they take precedence and `zones` is ignored.
 * @param data - object containing x and y arrays
 * @param options - options
 * @returns resampled spectrum with equally spaced x values
 */
export declare function xyEquallySpaced(data: DataXY, options?: XYEquallySpacedOptions): DataXY<number[]>;
//# sourceMappingURL=xyEquallySpaced.d.ts.map