import { PluginFunction } from 'formvuelate' interface ValidationProps { errorMessage?: string; errors: string[]; meta: { valid: boolean; dirty: boolean; touched: boolean; pending: boolean; initialValue: any; }, setTouched(touched: boolean): void; } interface PluginOptions { mapProps: (validation: ValidationProps) => Record; } /** * The form-level validation state published via the `validation` slot prop and * the `update:validation` event (usable as `v-model:validation`). */ export interface FormValidationState { errors: Record; values: Record; isSubmitting: boolean; submitCount: number; meta: { valid: boolean; dirty: boolean; touched: boolean; pending: boolean; initialValues?: Record; }; } declare const VeeValidatePlugin: (opts?: Partial) => PluginFunction export default VeeValidatePlugin