import { Form as InformedForm, type FormState } from 'informed'; import { type ComponentPropsWithoutRef } from 'react'; import type { ZodObject, ZodRawShape } from 'zod'; export interface TypedFormState extends Omit { values: T; } export interface FormProps extends Omit, 'initialValues' | 'onSubmit'> { onSubmit?: (formState: TypedFormState) => Promise | void; initialValues?: T | undefined; disabled?: boolean; readOnly?: boolean; loading?: boolean; showOptional?: boolean; zodSchema?: ZodObject; } /** * Basic form component used to wrap form inputs. It wraps * all content in Informed Form component, which handles * form state and validation. */ export declare function Form({ initialValues, onSubmit, readOnly, disabled, loading, showOptional, zodSchema, ...restProps }: FormProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Form.d.ts.map