import * as React from 'react'; type SidebarItemNextSpecificProps = { /** Sets the item's label. */ children?: React.ReactNode; /** Applied as data-hook HTML attribute that can be used in the tests. */ dataHook?: string; /** Specifies a CSS class name to be appended to the component's root element. * @internal */ className?: string; /** An element/array of elements to appear at the end of the text. max number of elements to pass is 2. */ suffix?: React.ReactNode; /** An element to appear at the start of the text. */ prefix?: React.ReactNode; /** A callback to be triggered on mouse enter. */ onMouseEnter?: React.MouseEventHandler; /** A callback to be triggered on mouse leave. */ onMouseLeave?: React.MouseEventHandler; /** Indicates whether to display the item as disabled. */ disabled?: boolean; /** A callback to be triggered on click. */ onClick?: React.MouseEventHandler; /** Sets a unique key for the item. The item is marked as selected when it matches the `selectedKey` of ``, and the key is passed to `onClick` as the second argument. */ itemKey?: string; /** Defines one of the aria roles to provide semantic meaning to content. */ role?: string; /** Content of the tooltip shown when the sidebar is minimized. */ minimizedTooltipContent?: React.ReactNode; /** The skin of the item. Overrides the skin provided by the parent SidebarNext. */ skin?: 'dark' | 'light' | 'neutral'; /** Renders the item in its collapsed form (icon only, with `minimizedTooltipContent`). * Overrides the minimized state provided by the parent SidebarNext — needed when the * item is rendered across a bundle boundary, where the context doesn't resolve. */ minimized?: boolean; }; /** * Omit SidebarItemNext specific properties. */ type OmitHTMLAttributes = Omit; export type SidebarItemNextWithAsProp = | SidebarItemNextAsButtonProps | SidebarItemNextAsAnchorProps | SidebarItemNextGenericProps | SidebarItemNextAsComponentProps; type SidebarItemNextAsButtonProps = OmitHTMLAttributes< React.ButtonHTMLAttributes > & T & { /** Renders the item as another HTML tag or component. * @default 'button' */ as?: 'button'; /** A callback to be triggered on click. */ onClick?: React.MouseEventHandler; }; type SidebarItemNextAsAnchorProps = OmitHTMLAttributes< React.AnchorHTMLAttributes > & T & { /** Renders the item as another HTML tag or component. */ as: 'a'; /** A callback to be triggered on click. */ onClick?: React.MouseEventHandler; }; type SidebarItemNextGenericProps = T & { /** Renders the item as another HTML tag or component. */ as: keyof Omit; /** A callback to be triggered on click. */ onClick?: React.MouseEventHandler; [additionalProps: string]: any; }; type SidebarItemNextAsComponentProps = T & { /** Renders the item as another HTML tag or component. */ as: React.ComponentType; /** A callback to be triggered on click. */ onClick?: React.MouseEventHandler; [additionalProps: string]: any; }; export type SidebarItemNextProps = SidebarItemNextWithAsProp; declare const SidebarItemNext: React.FC; export { SidebarItemNext };