/// import type { Editor } from 'grapesjs'; import { MenuListItemActionProps } from '../MenuList'; import type { CommonStudioLayoutConfigProps, CommonStudioLayoutProps, StudioLayoutComponentsConfig } from './types'; import { StudioLayoutMenuListConfig, StudioMenuListItemConfig } from './types/StudioMenuListSchema'; export interface StudioLayoutMenuListConfigProps extends CommonStudioLayoutConfigProps { } export interface StudioMenuListProps extends Omit, 'children' | 'items' | 'onItemClick'> { items?: StudioMenuListItemProps[]; onItemClick?: (props: OnClickEventProps) => void; } export interface StudioMenuListItemProps extends Omit { items?: StudioMenuListItemProps[]; layout?: StudioLayoutComponentsConfig; onClick?: (props: OnClickEventProps) => void; } interface OnClickEventProps extends MenuListItemActionProps { editor: Editor; item: StudioMenuListItemProps; } export declare const StudioMenuList: import("react").FunctionComponent; export default StudioMenuList;