import { FormSchema, FormEnhancements, UseFormBuilderReturn } from '../types/form-builder'; import { ControlModel, ControlModelBinding, ControlSchema, ControlWorkspaceOptions } from '../composables/useControlSchema'; interface Props { /** Full form or wizard schema. Takes precedence when `controls` is also provided. */ schema?: FormSchema; /** Model returned by defineControlModel(), or a raw nested ControlModel for one-step form generation. */ model?: ControlModel | ControlModelBinding; /** Compact control schema used to generate a flat FormSchema. */ controls?: ControlSchema; /** Options passed to compact control schema generation, including shared initialValues. */ controlOptions?: ControlWorkspaceOptions; modelValue?: Record; enhancements?: FormEnhancements>; loading?: boolean; disabled?: boolean; size?: 'sm' | 'md' | 'lg'; readonly?: boolean; /** Show the default or slotted form actions. */ showActions?: boolean; } declare var __VLS_20: `field:${string}`, __VLS_21: { field: import('..').FormFieldSchema; form: import('..').UseFormReturn>; fieldProps: { modelValue: unknown; 'onUpdate:modelValue': (value: unknown) => void; onBlur: () => void; error: string | null; }; }, __VLS_25: `section:${string}`, __VLS_26: { section: import('..').FormSectionSchema; form: import('..').UseFormReturn>; }, __VLS_30: `section:${string}:after`, __VLS_31: { form: import('..').UseFormReturn>; }, __VLS_34: { form: import('..').UseFormReturn>; builder: UseFormBuilderReturn>; }, __VLS_54: `field:${string}`, __VLS_55: { field: import('..').FormFieldSchema; form: import('..').UseFormReturn>; fieldProps: { modelValue: unknown; 'onUpdate:modelValue': (value: unknown) => void; onBlur: () => void; error: string | null; }; }, __VLS_59: `section:${string}`, __VLS_60: { section: import('..').FormSectionSchema; form: import('..').UseFormReturn>; }, __VLS_64: `section:${string}:after`, __VLS_65: { form: import('..').UseFormReturn>; }, __VLS_67: { form: import('..').UseFormReturn>; builder: UseFormBuilderReturn>; }; type __VLS_Slots = {} & { [K in NonNullable]?: (props: typeof __VLS_21) => any; } & { [K in NonNullable]?: (props: typeof __VLS_26) => any; } & { [K in NonNullable]?: (props: typeof __VLS_31) => any; } & { [K in NonNullable]?: (props: typeof __VLS_55) => any; } & { [K in NonNullable]?: (props: typeof __VLS_60) => any; } & { [K in NonNullable]?: (props: typeof __VLS_65) => any; } & { actions?: (props: typeof __VLS_34) => any; } & { actions?: (props: typeof __VLS_67) => any; }; declare const __VLS_base: import('vue').DefineComponent>; validate: () => boolean; reset: (values?: Partial> | undefined) => void; updateSchema: (schema: FormSchema, values?: Partial> | undefined) => void; goNext: () => boolean; goBack: () => void; goToStep: (index: number) => void; builder: UseFormBuilderReturn>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (data: Record) => any; submit: (data: Record) => any; cancel: () => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((data: Record) => any) | undefined; onSubmit?: ((data: Record) => any) | undefined; onCancel?: (() => any) | undefined; }>, { disabled: boolean; readonly: boolean; loading: boolean; controlOptions: ControlWorkspaceOptions; model: ControlModel | ControlModelBinding; showActions: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };