import { FieldContext } from 'vee-validate';
import { Nullable } from '../../node_modules/primevue/ts-helpers';
import { Ref } from 'vue';
export type Condition = 'empty' | 'exceed';
export type CustomValidation = Partial<Record<Condition, string>>;
type FieldValue = Nullable<string> | Nullable<number> | string | string[] | number | number[] | boolean | undefined | null | object;
export type FieldValidation<T = FieldValue | undefined> = {
    value: T;
    errorMessage?: Ref<string | undefined>;
    setErrors?: (errors?: string | string[]) => void;
    handleReset?: () => void;
    validate?: () => void;
} | (Omit<FieldContext, 'value'> & {
    value: T;
});
export {};
