import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; //#region src/components/Form/Form.vue.d.ts interface FormProps extends AtomProps { /** Namespace for dependency injection */ namespace?: string; /** Disables all registered fields */ disabled?: boolean; /** Sets all registered fields to readonly */ readonly?: boolean; /** Suppress native constraint validation (default: true) — set false to restore browser validation UI */ novalidate?: boolean; } interface FormSlotProps { /** Aggregate validity: null = unvalidated, true = all valid, false = any invalid */ isValid: boolean | null; /** Whether any field is currently validating */ isValidating: boolean; /** Whether the form is disabled */ isDisabled: boolean; /** Whether the form is readonly */ isReadonly: boolean; /** Validate all fields and return result */ submit: () => Promise; /** Reset all field validations */ reset: () => void; /** Attributes to bind to the form element */ attrs: { novalidate: true | undefined; onSubmit: (event: Event) => void; onReset: (event: Event) => void; }; } declare const _default: typeof __VLS_export; declare const __VLS_export: __VLS_WithSlots any; submit: (payload: { valid: boolean; }) => any; "update:modelValue": (value: boolean | null) => any; "update:model-value": (value: boolean | null) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onReset?: (() => any) | undefined; onSubmit?: ((payload: { valid: boolean; }) => any) | undefined; "onUpdate:modelValue"?: ((value: boolean | null) => any) | undefined; "onUpdate:model-value"?: ((value: boolean | null) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { default: (props: FormSlotProps) => any; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion export { FormProps, FormSlotProps, _default as default };