import { InputTypes } from '../input';
import { FormFieldValidity } from './validity-shape';
import { VALIDATION_VALUES } from './constants';
import { MessageTypes } from '../message';
export declare function isPassword(type?: InputTypes): boolean;
export type GetValidityMessagesParam = {
    validity?: FormFieldValidity | null;
    validationValues: VALIDATION_VALUES;
};
export declare function getValidityMessages({ validity, validationValues, }: GetValidityMessagesParam): (string | true)[];
export declare function buildValidityMessageId({ type, fieldId, position, }: {
    type?: MessageTypes | null;
    fieldId?: string;
    position: number;
}): string | undefined;
export declare function getValidationMessagesIds({ validity, validationValues, fieldId, }: {
    validity?: FormFieldValidity | null;
    validationValues: VALIDATION_VALUES;
    fieldId?: string;
}): string;
export declare function getErrorAriaAttributes({ validity, validationValues, id, }: {
    validity?: FormFieldValidity | null;
    validationValues: VALIDATION_VALUES;
    id?: string;
}): "" | {
    'aria-invalid'?: true | undefined;
    'aria-describedby'?: string | undefined;
};
