import { Mapper } from './types'; /** * Scales value from [{@link inputA}, {@link inputB}] range to [{@link a}, {@link b}] range. * * @example * scale(0, 1, 50, 100)(75); * // ⮕ 0.5 * * scale(50, 100)(0.5); * // ⮕ 75 * * @param a The minimum value of output range. * @param b The maximum value of output range. * @param inputA The minimum value of input range. * @param inputB The maximum value of input range. * @returns Mapper that handles the input value scaling. * @group Algebra */ export declare function scale(a: number, b: number, inputA?: number, inputB?: number): Mapper;