import { ElementValidatorBase } from './Abstracts/ElementValidatorBase';
import type { ElementValidationMessageResolver, ElementValidationResult, ElementValidatorFn } from './Abstracts/Interfaces/IElementValidator';
/**
 * @private
 */
interface IRequiredElement extends HTMLElement {
    required: boolean;
    value: string;
}
/**
 * @public
 */
export declare class RequiredElementValidator<TElement extends IRequiredElement = IRequiredElement> extends ElementValidatorBase<TElement> {
    constructor(host: TElement, messageResolver?: ElementValidationMessageResolver);
    protected get attributes(): Array<keyof IRequiredElement>;
    validate(): ElementValidationResult | null;
}
/**
 * A factory function for the `RequiredElementValidator`.
 *
 * @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 requiredElementValidator(messageResolver?: ElementValidationMessageResolver): ElementValidatorFn;
export {};
//# sourceMappingURL=RequiredElementValidator.d.ts.map