import { MessageFunctionType, Result } from '../types'; export interface IsMatchesErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const IS_MATCHES_ERRORS: IsMatchesErrors; /** * Check whether the target matches the pattern * * ### Example * ``` * expect(matches('abc', 'abc').value).toBeTruthy() * ``` * @param target The target * @param pattern The RegExp * @param modifiers The optional modifier */ export declare function matches(target: string, pattern: RegExp, modifiers?: string): Result;