export type SidebarNavigationItemsProps = { isCollapsed: boolean; navigationOptions: SidebarNavigationItemsOptions; }; export type SidebarNavigationItemsOptions = { items: SidebarNavigationItem[]; }; /** Leaf row — no nested accordion (used for top-level singles and for `subItems`). */ export type SidebarNavigationLeaf = { id: string; label: string; icon: string; /** Active / selected row (cream highlight in the default look). */ current?: boolean; } & SidebarNavigationItemTypeOption; export type SidebarNavigationItem = SidebarNavigationLeaf & { /** * When present and non-empty, the row is an expandable accordion (chevron) when * the rail is open. When collapsed, these become `AzActionListBox` actions. * When omitted/empty, the row is a plain redirect / action (tooltip when collapsed). */ subItems?: SidebarNavigationLeaf[]; }; export type SidebarNavigationItemTypeOption = { type: 'button'; onClick: () => void; } | { type: 'link'; link?: string; target?: '_blank' | '_self' | '_parent' | '_top'; }; //# sourceMappingURL=sidebar-navigation-items.models.d.ts.map