import { ContentMenuEntry } from '../ContentMenu'; import React, { MouseEvent } from 'react'; export type ContentMenuItemSelectEvent = Pick; export interface ContentMenuItemProps extends React.HTMLAttributes { /** * Object representing the content menu item entry. */ entry: ContentMenuEntry; /** * Boolean indicating whether the content menu item is active. When active, the content menu item is highlighted with a background color. * Only applicable to folder items. */ active: boolean; /** * Callback to handle a click on the content menu item. */ handleClick: (entry: ContentMenuEntry, mouseEvent: ContentMenuItemSelectEvent) => void; /** * Callback to toggle a tooltip for the content menu item. */ toggleTooltip: (label?: string, element?: HTMLDivElement) => void; /** * Callback to handle a click on the bookmark icon of the content menu item. */ handleBookmark?: (entry: ContentMenuEntry) => void; disableBookmarking?: boolean; /** * Selected scheme to determine which variant of app icons to show. */ selectedScheme?: 'dark' | 'light'; } export declare const ContentMenuItem: React.FC; interface ContentMenuItemContainerProps { active?: boolean; } export declare const ContentMenuItemContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, React.HTMLAttributes & { alignItems?: import("../../../../layout/Box/types").AlignItems | undefined; /** * Object representing the content menu item entry. */ display?: import("../../../../layout/Box/types").Display | undefined; flexDirection?: import("../../../../layout/Box/types").FlexDirection | undefined; flexWrap?: import("../../../../layout/Box/types").FlexWrap | undefined; justifyContent?: import("../../../../layout/Box/types").JustifyContent | undefined; gap?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined; alignSelf?: import("../../../../layout/Box/types").AlignSelf | undefined; flexBasis?: string | undefined; flexGrow?: 0 | 1 | undefined; flexShrink?: 0 | 1 | undefined; order?: number | undefined; background?: import("../../../../layout/Box/types").BackgroundLevel | undefined; padding?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined; } & { enabled?: string | undefined; selected?: boolean | undefined; } & ContentMenuItemContainerProps, never>; export {};