import type { Ref } from 'vue'; export declare function useValidation(options: { name?: Ref; validate?: Ref; schema?: Ref; onUpdate?: (model: any) => void; onSubmit?: (model: any) => void; }): { schema: any; onSubmit: (event: SubmitEvent) => Promise; onInput: (nameRef: Ref, value: any) => Promise; onBlur: (nameRef: Ref, event: any) => void; }; export declare function useFormValidationError(options: { schema: Ref; error: Ref; }): { hasError: import("vue").ComputedRef; };