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