import { CollapseProps, Factory, StylesApiProps } from '@mantine/core'; import { ReactNode } from 'react'; export type ChildFormStylesNames = 'root' | 'paper'; export interface ChildFormProps extends CollapseProps, StylesApiProps { /** * Title of the child form. */ title?: string; /** * Description of the child form. */ description?: ReactNode; } type ChildFormFactory = Factory<{ props: ChildFormProps; defaultRef: HTMLDivElement; defaultComponent: 'div'; stylesNames: ChildFormStylesNames; }>; export declare const ChildForm: ((props: import("@mantine/core").PolymorphicComponentProps) => React.ReactElement) & Omit) => any; }) | (ChildFormProps & { component?: any; } & Omit & { ref?: any; renderRoot?: (props: any) => any; })>, never> & import("@mantine/core").ThemeExtend<{ props: ChildFormProps; defaultRef: HTMLDivElement; defaultComponent: 'div'; stylesNames: ChildFormStylesNames; }> & import("@mantine/core").ComponentClasses<{ props: ChildFormProps; defaultRef: HTMLDivElement; defaultComponent: 'div'; stylesNames: ChildFormStylesNames; }> & import("@mantine/core").PolymorphicComponentWithProps<{ props: ChildFormProps; defaultRef: HTMLDivElement; defaultComponent: 'div'; stylesNames: ChildFormStylesNames; }> & Record; export declare namespace ChildForm { type Props = ChildFormProps; type StylesNames = ChildFormStylesNames; type Factory = ChildFormFactory; } export {}; //# sourceMappingURL=ChildForm.d.ts.map