import { type FC, type MouseEvent, type ReactNode } from "react"; import { type IMenuAccessibilityConfig } from "../typings/accessibility.js"; /** * @internal */ export type SingleSelectListItemType = "header" | "separator"; /** * @internal */ export interface ISingleSelectListItemProps { title?: string; /** Rendered right after the title, e.g. a "(Default)" marker. */ suffix?: ReactNode; icon?: string | ReactNode; type?: SingleSelectListItemType; className?: string; info?: string | ReactNode; eventsOnBubble?: boolean; hideDelayBubble?: number; isSelected?: boolean; isFocused?: boolean; isMenu?: boolean; accessibilityConfig?: IMenuAccessibilityConfig; tabIndex?: number; elementType?: "div" | "button"; /** * Visual variant to indicate special emphasis, e.g. "delete". * Example: "default" | "delete" */ variant?: "default" | "delete"; iconRenderer?: (icon: string | ReactNode | FC) => ReactNode; infoRenderer?: (info: string | ReactNode | FC) => ReactNode; onClick?: (e: MouseEvent) => void; onMouseOver?: (e: MouseEvent) => void; onMouseOut?: (e: MouseEvent) => void; /** Optional stable id for e2e (renders as data-testid). */ dataTestId?: string; } /** * @internal */ export declare const SingleSelectListItem: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=ListItem.d.ts.map