/** * Returns a boolean value indicating whether the regular expression pattern matches any part of the input str. * * It checks if the pattern parameter is a regular expression. * If it is not, it creates a new regular expression object from the pattern parameter and optional flags parameter. * * @param str inpput string * @param pattern a regular expression * @param flags optional string flags for the regular expression * @returns */ export declare const matches: (str: string, pattern: RegExp, flags?: string) => boolean;