import { RegisterOptions } from 'react-hook-form';
export declare type ValidationType = 'shortText' | 'longText' | 'required' | 'requiredGroup' | 'number' | 'cardCvc' | 'cardExpiry' | 'cardNumber' | 'email' | 'phone' | 'password' | 'valueConfirm' | 'zipcode' | 'birthDate' | 'date';
export declare type ValidationProps = ValidationType[];
export declare const useValidations: ({ validations, matchAgainst, max, min, }: {
    validations?: ValidationProps;
    matchAgainst?: string;
} & Pick<Partial<{
    required: string | import("react-hook-form").ValidationRule<boolean>;
    min: import("react-hook-form").ValidationRule<string | number>;
    max: import("react-hook-form").ValidationRule<string | number>;
    maxLength: import("react-hook-form").ValidationRule<string | number>;
    minLength: import("react-hook-form").ValidationRule<string | number>;
    pattern: import("react-hook-form").ValidationRule<RegExp>;
    validate: import("react-hook-form").Validate<any> | Record<string, import("react-hook-form").Validate<any>>;
    valueAsNumber: boolean;
    valueAsDate: boolean;
    value: any;
    setValueAs: (value: any) => any;
    shouldUnregister: boolean;
    disabled: boolean;
    deps: string[];
}>, "min" | "max">) => RegisterOptions;
