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