import React from "react"; import { ISidekickMenuItem } from "../types"; type ItemVisibilityMap = { [key: string]: "VISIBLE" | "HIDDEN" | "PENDING"; }; interface DrilldownMenuListProps { items: ISidekickMenuItem[]; itemVisibility: ItemVisibilityMap; searchTerm: string; alwaysShowUnsearchableItems: boolean; highlightedIndex: number; chevronIcon?: React.ReactNode; onDrillIn: (id: string) => void; onActivate: (item: ISidekickMenuItem) => void; showNumberBadges?: boolean; /** Present only when favouritesEnabled, so any leaf item can be pinned pre-emptively, * without first having to earn its way into Favourites through usage. */ isPinned?: (id: string) => boolean; onTogglePin?: (id: string) => void; } declare const DrilldownMenuList: React.FC; export default DrilldownMenuList;