import { ReactElement, ReactNode } from 'react'; import { FormProps } from 'react-admin'; type WizardFormProps = FormProps & { toolbar?: ReactElement; progress?: ReactElement; title?: ReactNode | string; subheader?: ReactNode | string; secondary?: ReactNode | string; sx?: any; modal?: boolean; }; /** * Form component for handling wizard-style forms with multiple steps. * * @param {object} props - The properties object. * @param {React.ReactNode} props.children - The child components representing each step of the wizard. * @param {React.ReactNode} props.toolbar - The toolbar component to be displayed. * @param {React.ReactNode} props.progress - The progress indicator component. * @param {string} props.title - The title of the form. * @param {string | null} [props.subheader=null] - The subheader text of the form. * @param {React.ReactNode | null} [props.secondary=null] - The secondary content of the form. * @param {object} props.sx - The style object for custom styling. * @param {boolean} [props.modal=false] - Flag indicating if the form is displayed in a modal. * @param {object} props.rest - Additional properties passed to the form. * * @returns {JSX.Element | null} The rendered form component. */ declare function Form({ children, toolbar, progress, title, subheader, secondary, sx, modal, ...props }: WizardFormProps): JSX.Element | null; declare namespace Form { var Step: ({ children }: { children: ReactNode; label: string; icon?: ReactNode; sources?: Array; }) => import("react/jsx-runtime").JSX.Element; } export { Form }; //# sourceMappingURL=Form.d.ts.map