import { TReferenceProps } from '../../..'; import { IStringProps, TStringValidatorResult } from '../_types'; export interface IDoesContainProps { /** * The list of authorized values. Can be either an array of string or just a string. */ values: (string | RegExp) | (string | RegExp)[]; /** * Wether a string should contain/match every value. * * @default false */ matchAll?: boolean; } /** * Check if the string does contain a value or match to a RegExp. */ export declare const doesContain: (props: TReferenceProps & IStringProps) => TStringValidatorResult;