import { MessageTypes } from '../message';
import { ValidationRuleTypes, MessageDisplayLocation } from './constants';
export type Validity = {
    type?: ValidationRuleTypes | null;
};
export type FormFieldValidity = {
    type?: MessageTypes | null;
    value?: string | boolean | string[];
    displayLocation?: MessageDisplayLocation | string;
    getType?: (value: string) => string;
    values?: Array<number | '*' | string>;
    min?: number;
    max?: number;
    field?: string;
    allowAll?: boolean;
};
export type AsyncValidation = {
    isValidating: boolean;
    isRetryShown: boolean;
    onRetry: () => void;
};
