import { ComputedRef, Ref, UnwrapRef } from 'vue'; export type FormFiled = { name: Ref; value?: Ref; isValid: Ref; isLoading: Ref; isDirty: Ref; isTouched: Ref; errorMessages: Ref; validate: () => boolean; validateAsync: () => Promise; reset: () => void; resetValidation: () => void; focus: () => void; }; export type Form = { fields: ComputedRef[]>>; fieldsNamed: ComputedRef>>; fieldNames: ComputedRef; formData: ComputedRef>; isValid: ComputedRef; isDirty: Ref; isTouched: Ref; isLoading: ComputedRef; errorMessages: ComputedRef; errorMessagesNamed: ComputedRef>; immediate: ComputedRef; validate: () => boolean; validateAsync: () => Promise; reset: () => void; resetValidation: () => void; focus: () => void; focusInvalidField: () => void; };