import * as React from 'react'; import { IconProps } from 'react-magma-icons'; import { Omit } from '../../utils'; export interface DropdownMenuItemProps extends Omit, 'onClick'> { /** * Leading icon for the menu item */ icon?: React.ReactElement; /** * @internal */ index?: number; /** * @internal */ isActive?: boolean; /** * If true, item will be disabled; it will appear dimmed and onClick event (or any other events) will not fire * @default false */ disabled?: boolean; /** * Action that fires when the menu item is clicked. If the menuitem also has a value prop, the value will be passed to the onClick handler */ onClick?: (value?: string | number) => void; /** * Value of the component, gets passed to the onClick event */ value?: string | number; } export declare function menuColors(props: any): any; export declare function menuBackground(props: any): any; export declare function menuFocusBackground(): string; export declare const MenuItemStyles: (props: any) => import("@emotion/react").SerializedStyles; export declare const IconWrapper: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme; as?: React.ElementType; } & { disabled?: boolean; isInverse?: boolean; }, React.DetailedHTMLProps, HTMLSpanElement>, {}>; export declare const DropdownMenuItem: React.ForwardRefExoticComponent>;