import { IconComponent } from '../../Icons/types'; import { NavItemHandler, PyrionNavLink, PyrionSidebarEntry, PyrionTertiaryEntry, SubLinksRender } from './pyrionLayoutNavTypes'; /** @deprecated Use PyrionSidebarEntry */ export interface PyrionLayoutLinkItemProps { path: string; title: string; icon?: IconComponent; isView?: boolean | (() => boolean); relatedPaths?: string[]; count?: number; className?: string; disabled?: boolean; isSelected?: boolean; toggleCollapse?: () => void; getIsCollapsed?: () => boolean; subscribeToCollapse?: (listener: (collapsed: boolean) => void) => () => void; onClick?: (path: string) => void; sublinks?: Array<{ title: string; path: string; parentPath?: string; className?: string; isSelected?: boolean; }>; subLinksRender?: SubLinksRender; tooltipText?: string; selectorCss?: string; } export type PLSidebarLinkEntryProps = { entry: PyrionSidebarEntry & PyrionNavLink & { icon?: IconComponent; sublinks?: PyrionTertiaryEntry[]; subLinksRender?: SubLinksRender; }; isSelected: boolean; pathname: string; onNavigate?: (path: string) => void; toggleCollapse?: () => void; getIsCollapsed?: () => boolean; subscribeToCollapse?: (listener: (collapsed: boolean) => void) => () => void; }; declare const PLSidebarLinkEntry: import('react').NamedExoticComponent>; export default PLSidebarLinkEntry;