import type { Nullable } from '../../../Types/Nullable';
import type { ElementValidationError } from './Abstracts/Interfaces/IElementValidator';
/**
 * Validator that requires the control's value to match a regex pattern.
 *
 * State:
 * * patternMismatch
 *
 * @public
 * @param element
 * @returns null if the validation check passes, otherwise an object containing information.
 */
export declare function patternValidator(element: HTMLElement & {
    value: string;
    pattern: string | RegExp;
}): Nullable<ElementValidationError>;
//# sourceMappingURL=PatternElementValidatorFn.d.ts.map