import { ElementValidatorBase } from './Abstracts/ElementValidatorBase';
import type { ElementValidationMessageResolver, ElementValidationResult, ElementValidatorFn } from './Abstracts/Interfaces/IElementValidator';
import { isEmailValue as _isEmailValue } from './EmailElementValidatorFn';
/**
 * @private
 */
interface IEmailElement extends HTMLElement {
    value: string;
}
/**
 * @public
 */
export declare class EmailElementValidator<TElement extends IEmailElement = IEmailElement> extends ElementValidatorBase<TElement> {
    constructor(host: TElement, messageResolver?: ElementValidationMessageResolver);
    protected get attributes(): Array<keyof IEmailElement>;
    validate(): ElementValidationResult | null;
}
export declare namespace EmailElementValidator {
    const isEmailValue: typeof _isEmailValue;
}
/**
 * A factory function for the {@link EmailElementValidator}.
 *
 * @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 emailElementValidator(messageResolver?: ElementValidationMessageResolver): (([host]: Parameters<ElementValidatorFn<IEmailElement>>) => ReturnType<ElementValidatorFn<IEmailElement>>);
export {};
//# sourceMappingURL=EmailElementValidator.d.ts.map