import { BoxProps, CompoundStylesApiProps, MantineColor, PolymorphicFactory } from '../../../core'; export type MenuSubItemStylesNames = 'item' | 'itemLabel' | 'itemSection'; export interface MenuSubItemProps extends BoxProps, CompoundStylesApiProps { 'data-disabled'?: boolean; /** Item label */ children?: React.ReactNode; /** Key of `theme.colors` or any valid CSS color */ color?: MantineColor; /** Section displayed at the start of the label */ leftSection?: React.ReactNode; /** Section displayed at the end of the label */ rightSection?: React.ReactNode; /** Sets disabled attribute, applies disabled styles */ disabled?: boolean; /** If set, the menu is closed when the item is clicked. Overrides `closeOnItemClick` prop on the `Menu` component. */ closeMenuOnClick?: boolean; } export type MenuSubItemFactory = PolymorphicFactory<{ props: MenuSubItemProps; defaultRef: HTMLButtonElement; defaultComponent: 'button'; stylesNames: MenuSubItemStylesNames; compound: true; }>; export declare const MenuSubItem: ((props: import("../../..").PolymorphicComponentProps) => React.ReactElement) & Omit & { ref?: any; renderRoot?: (props: any) => any; }) | (MenuSubItemProps & { component: React.ElementType; renderRoot?: (props: Record) => any; })>, never> & import("../../..").ThemeExtend<{ props: MenuSubItemProps; defaultRef: HTMLButtonElement; defaultComponent: "button"; stylesNames: MenuSubItemStylesNames; compound: true; }> & import("../../..").ComponentClasses<{ props: MenuSubItemProps; defaultRef: HTMLButtonElement; defaultComponent: "button"; stylesNames: MenuSubItemStylesNames; compound: true; }> & import("../../..").PolymorphicComponentWithProps<{ props: MenuSubItemProps; defaultRef: HTMLButtonElement; defaultComponent: "button"; stylesNames: MenuSubItemStylesNames; compound: true; }> & Record;