import type { Ref } from 'vue'; import type { ErrorField, FormAPI, Rule } from './types'; export default function useField(fieldContext: { fieldLabel: string; rules: Rule[]; modelValue: Ref; onReset: () => Promise; disabled: Ref; }): { form: FormAPI; reset: () => void; validate: () => Promise; hasError: import("vue").ComputedRef; message: import("vue").ComputedRef; };