import type { JSX } from 'react'; import * as React from 'react'; import type { NavBarItem } from '../../../components/nav-bar/NavBar'; export type SidebarContextValue = { defaultExpanded: boolean | null; expandedItems: Set; resetExpandAll: () => void; activeQuery: string; wrapItemText: boolean; areItemsCollapsed: boolean; setActiveQuery: (query: string) => void; setWrapItemText: (value: boolean) => void; triggerExpandAll: () => void; setItemsCollapsed: (v: boolean) => void; filteredItems?: NavBarItem[]; activeLink?: string; setActiveLink: (href: string) => void; expandItem: (href: string) => void; collapseItem: (href: string) => void; isExpanded: (href: string) => boolean; isSidebarCollapsed: boolean; handleSidebarCollapseChange: (collapsed: boolean) => void; }; type SidebarProviderProps = { children: React.ReactNode; items: NavBarItem[]; initialQuery?: string | null; initialCollapsed?: boolean; initialCollapseChildren?: boolean; initialSidebarCollapsed?: boolean; }; export declare function SidebarProvider({ children, items, initialQuery, initialCollapsed, initialSidebarCollapsed, }: SidebarProviderProps): JSX.Element; export declare function useSidebar(): SidebarContextValue; export {};