import type { FormData, FormSchema, FormSubmitEvent, InferInput } from '@nuxt/ui'; import type { MaybeRefOrGetter } from 'vue'; export declare function useFormState(schema: MaybeRefOrGetter, source?: MaybeRefOrGetter>>, options?: { success?: string; }): { schema: import("vue").ComputedRef; state: import("vue").Ref>, Partial>>; isModified: import("vue").Ref; isLoading: import("vue").Ref; reset: () => void; onSubmit: (fn: Parameters>>>[0]) => (event: FormSubmitEvent>) => Promise; };