/**
 * @internal
 * @remarks \@since 6.0.0
 */
export interface NearestOptions {
    min: number;
    max: number;
    steps: number;
    value: number;
    /** @defaultValue `max - min` */
    range?: number;
}
/**
 * Rounds a number to the nearest step within a min/max range.
 *
 * @see https://stackoverflow.com/a/13635455
 * @returns the value rounded to the nearest step in the min/max range
 * @remarks
 * \@since 2.5.0 Added the `range` param
 * \@since 6.0.0 Converted to using an object instead of multiple arguments.
 */
export declare function nearest(options: NearestOptions): number;
