import { MessageFunctionType, Result } from '../types'; export interface IsInRangeErrors { VALUE_ARGUMENT_NOT_A_NUMBER: MessageFunctionType; MIN_ARGUMENT_NOT_A_NUMBER: MessageFunctionType; MAX_ARGUMENT_NOT_A_NUMBER: MessageFunctionType; } export declare const IS_IN_RANGE_ERRORS: IsInRangeErrors; /** * Tests if the string's length falls in a range. Note: this function takes into account surrogate pairs. * If given value is not a string, then it returns false. * * ### Example * ``` * expect(isInRange(2,1,3).value).toBeTruthy() * ``` * * * @param value The value being checked. * @param min The min value to perform the check against. * @param max The max value to perform the check against, infinity if not defined. */ export declare function isInRange(value: number, min: number, max?: number): Result;