/** * Sidebar-level context shared across all children. * Provides collapsed state for the entire sidebar. */ interface SidebarContextValue { /** Whether the sidebar is in collapsed (icons-only) mode */ collapsed: boolean; /** Callback to change the collapsed state */ onCollapsedChange: (collapsed: boolean) => void; } declare const SidebarContext: import('react').Context; /** * Hook to access the sidebar context. * Must be used within a Sidebar component. */ declare const useSidebarContext: () => SidebarContextValue; export { SidebarContext, useSidebarContext }; export type { SidebarContextValue };