import { ReactNode } from 'react'; import { PyrionRailEntry, PyrionRailModuleLink, PyrionSidebarEntry, PyrionTertiaryEntry } from './pyrionLayoutNavTypes'; export type NavEntryPosition = "rail" | "sidebar" | "tertiary"; export interface NavEntryRenderContext { position: NavEntryPosition; pathname: string; drawerCollapsed?: boolean; handleNavigation?: (path: string) => void; activeActionId?: string; onActionClick?: (id: string, payload?: unknown) => void; activeModuleId?: string; onModuleClick?: (module: PyrionRailModuleLink) => void; getIsCollapsed?: () => boolean; toggleCollapse?: () => void; subscribeToCollapse?: (listener: (collapsed: boolean) => void) => () => void; } export declare const renderNavEntry: (entry: PyrionRailEntry | PyrionSidebarEntry | PyrionTertiaryEntry, index: number, ctx: NavEntryRenderContext) => ReactNode;