import { DividerProps, TitleProps } from '@mantine/core'; import { DefaultNodeOptions, ObjectNode, WidgetPlugin } from '@sagold/react-json-editor'; import { WidgetMenuItems } from '../../components/widgetmenu/WidgetMenu'; export type ObjectOptions = DefaultNodeOptions & { /** if set, will add an accordion in the given toggle state */ collapsed?: boolean; /** if set, will add an edit-json action to edit, copy and paste json-data for this location */ showEditJsonAction?: boolean; /** Is set internally to true to add a delete option for this object. */ isOptional?: boolean; /** set to true to show inline button at the end of the array to add another item */ showInlineAddAction?: boolean; /** set to false to deactivate array menu */ showHeaderMenu?: boolean; /** set to false to deactivate any array item-controls */ showItemControls?: boolean; /** set to true to inline description */ descriptionInline?: boolean; /** if true will add a separator line to the header */ showTitleDivider?: boolean; selectable?: boolean; /** placement of title within the separator */ dividerProps?: Pick; /** Mantine Title Props */ titleProps?: TitleProps; /** hide all children */ hideChildren?: boolean; /** if false, will hide title. will hide complete title-header if no menu-actions are available */ showHeader?: boolean; /** @internal option for menu action items */ widgetMenuItems?: WidgetMenuItems; /** @internal */ widget?: string; }; export declare const ObjectWidget: import("react").MemoExoticComponent<(props: import("../../../../react-json-editor/src/decorators").WidgetProps>) => import("react").ReactNode>; export declare const ObjectWidgetPlugin: WidgetPlugin;