import { DEFAULT_FOCUSED_EL } from './constants';
export declare const calculatePercentForDiff: (arg: number, min: number, max: number) => number;
export declare const calculatePercentForValue: (arg: number, min: number, max: number) => number;
export declare const calculateValueFromPercent: (arg: number, min: number, max: number) => number;
/**
 * Returns the closest value to `value` that is a multiple of `step`, starting from `min`.
 * If `step` is not provided or is <= 0, returns `value` unchanged.
 */
export declare const getSteppedValue: ({ min, step, value, }: {
    min: number;
    value?: number;
    step?: number;
}) => number;
export declare const updateFromValue: ({ value, step, min, minRange, to, }: {
    value: number;
    to: number;
    min: number;
    minRange: number;
    step?: number;
}) => {
    from: number;
    to: number;
};
export declare const updateToValue: ({ value, step, min, max, from, minRange, }: {
    value: number;
    from: number;
    min: number;
    max: number;
    minRange: number;
    step?: number;
}) => {
    from: number;
    to: number;
};
/**
 * Creates a referenceObject for Popper: a fake square contained in slider rail
 * @param isHorizontalOrientation
 * @param tooltipPosition
 * @param rail
 */
export declare const getTooltipAnchor: ({ isHorizontalOrientation, tooltipPosition, rail, }: {
    isHorizontalOrientation: boolean;
    tooltipPosition: {
        x: number;
        y: number;
    };
    rail: HTMLDivElement;
}) => {
    clientHeight: number;
    clientWidth: number;
    getBoundingClientRect: () => {
        width: number;
        height: number;
        x: number;
        y: number;
        toJSON: () => string;
        top: number;
        left: number;
        right: number;
        bottom: number;
    };
};
export declare const getTooltipTitle: ({ tooltipTitle, focusedEl, from, to, }: {
    tooltipTitle: number;
    focusedEl: typeof DEFAULT_FOCUSED_EL;
    from: number;
    to: number;
}) => string;
export declare const getMaxValueSymbols: (edge: number, precision: number) => number;
//# sourceMappingURL=utils.d.ts.map