import { MessageFunctionType, Result } from '../types'; export interface IsLengthErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const IS_LENGTH_ERRORS: IsLengthErrors; /** * Tests whether the `target` string length is valid * * ### Example * ``` * expect(isLength('abcd', 2).value).toBeTruthy() * ``` * @param target The target * @param min The minimum length * @param max The maximum length - Infinity if not defined */ export declare function isLength(target: string, min?: number, max?: number): Result;