import * as React from 'react'; import type { PolymorphicForwardRefComponent } from '../../utils/index.js'; export declare const SidenavExpandedContext: React.Context; type SideNavigationProps = { /** * Buttons shown in the top portion of sidenav. * Recommended to use `SidenavButton` components. */ items: React.ReactNode[]; /** * Buttons shown at the bottom of sidenav. */ secondaryItems?: React.ReactNode[]; /** * Control the placement of "expander" icon button (or hide it). * @default 'top' */ expanderPlacement?: 'top' | 'bottom' | 'hidden'; /** * Controlled flag to expand/collapse the sidenav. */ isExpanded?: boolean; /** * Callback fired when the "expander" icon is clicked. */ onExpanderClick?: () => void; /** * Submenu to show supplemental info associated to the main item. * * Should be used with the `isSubmenuOpen` props from both `SideNavigation` and `SidenavButton`. * @example * * Documents * List of documents * * )} * isSubmenuOpen={true} * /> */ submenu?: React.JSX.Element; /** * Set to true to display the provided `submenu`. * * Note that there is an identical prop in `SidenavButton` which should also * be set to true for proper styling when submenu is open but page is not active yet. * @default false */ isSubmenuOpen?: boolean; /** * Passes props for SideNav wrapper. */ wrapperProps?: React.ComponentProps<'nav'>; /** * Passes props for SideNav content. */ contentProps?: React.ComponentProps<'div'>; /** * Passes props for SideNav top. */ topProps?: React.ComponentProps<'div'>; /** * Passes props for SideNav bottom. */ bottomProps?: React.ComponentProps<'div'>; }; /** * Left side navigation menu component. * * Renders a `