/**
 * Copyright IBM Corp. 2020, 2022
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */
/**
 * Form validation status.
 */
export declare enum VALIDATION_STATUS {
    /**
     * One indicating no validation error.
     */
    NO_ERROR = "",
    /**
     * One indicating missing required value.
     */
    ERROR_REQUIRED = "required"
}
/**
 * @param Base The base class.
 * @returns A mix-in implementing `.setCustomValidity()` method.
 */
declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => {
    new (...args: any[]): {
        _getValidityMessage(state: string): string | undefined;
        _testValidity(): string;
        invalid: boolean;
        required: boolean;
        requiredValidityMessage: string;
        validityMessage: string;
        get value(): string;
        set value(v: string): any;
        checkValidity(): boolean;
        setCustomValidity(validityMessage: string): void;
    };
} & T;
export default ValidityMixin;
//# sourceMappingURL=validity.d.ts.map