import type { InferOutput, ModalProps } from '@nuxt/ui'; import type * as z from 'zod'; import type { AutoFormConfig, AutoFormState } from '../types/index.js'; export interface AutoFormModalProps> { open?: boolean; schema: TSchema; initialState?: AutoFormState; title?: string; description?: string; config?: AutoFormConfig; modalProps?: Partial; } declare const __VLS_export: >(__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal & { onSubmit?: ((data: InferOutput) => any) | undefined; "onUpdate:open"?: ((value: boolean) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: import("vue").ShallowUnwrapRef<{ submit: () => Promise | undefined; form: Readonly | null>>; submit: () => Promise | undefined; validate: (opts?: any) => Promise | import("@nuxt/ui").InferInput> | undefined; clear: (path?: string | RegExp) => void | undefined; getErrors: (path?: string | RegExp) => import("@nuxt/ui").FormError[] | undefined; setErrors: (errors: import("@nuxt/ui").FormError[], name?: string | RegExp) => void | undefined; errors: import("vue").ComputedRef[], import("@nuxt/ui").FormError[]> | undefined>; disabled: import("vue").ComputedRef | undefined>; dirty: import("vue").ComputedRef | undefined>; dirtyFields: import("vue").ComputedRef>> | undefined>; touchedFields: import("vue").ComputedRef>> | undefined>; blurredFields: import("vue").ComputedRef>> | undefined>; }> | null, import("vue").ShallowUnwrapRef<{ form: Readonly | null>>; submit: () => Promise | undefined; validate: (opts?: any) => Promise | import("@nuxt/ui").InferInput> | undefined; clear: (path?: string | RegExp) => void | undefined; getErrors: (path?: string | RegExp) => import("@nuxt/ui").FormError[] | undefined; setErrors: (errors: import("@nuxt/ui").FormError[], name?: string | RegExp) => void | undefined; errors: import("vue").ComputedRef[], import("@nuxt/ui").FormError[]> | undefined>; disabled: import("vue").ComputedRef | undefined>; dirty: import("vue").ComputedRef | undefined>; dirtyFields: import("vue").ComputedRef>> | undefined>; touchedFields: import("vue").ComputedRef>> | undefined>; blurredFields: import("vue").ComputedRef>> | undefined>; }> | null>>; }>) => void; attrs: any; slots: { [x: string]: ((props: { field: keyof import("@nuxt/ui").InferInput & string; state: Partial>; }) => any) | undefined; } & { footer?: (props: { disabled: boolean; submit: () => Promise | undefined; close: () => void; }) => any; }; emit: ((evt: "submit", data: InferOutput) => void) & ((evt: "update:open", value: boolean) => void); }>) => import("vue").VNode & { __ctx?: Awaited; }; declare const _default: typeof __VLS_export; export default _default; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};