import { ElementValidatorBase } from './Abstracts/ElementValidatorBase';
import type { ElementValidationMessageResolver, ElementValidationResult, ElementValidatorFn } from './Abstracts/Interfaces/IElementValidator';
/**
 * @private
 */
interface IPatternElement extends HTMLElement {
    pattern: string;
    value: string;
}
/**
 * @public
 */
export declare class PatternElementValidator<TElement extends IPatternElement = IPatternElement> extends ElementValidatorBase<TElement> {
    constructor(host: TElement, messageResolver?: ElementValidationMessageResolver);
    protected get attributes(): Array<keyof IPatternElement>;
    validate(): ElementValidationResult | null;
}
/**
 * A factory function for the {@link PatternElementValidator}.
 *
 * @public
 * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
 */
export declare function patternElementValidator(messageResolver?: ElementValidationMessageResolver): (([host]: Parameters<ElementValidatorFn<IPatternElement>>) => ReturnType<ElementValidatorFn<IPatternElement>>);
export {};
//# sourceMappingURL=PatternElementValidator.d.ts.map