import * as react from 'react'; import { ReactNode, HTMLAttributes, ButtonHTMLAttributes } from 'react'; type SidebarSide = 'left' | 'right'; type SidebarCollapsible = 'offcanvas' | 'icon' | 'none'; interface SidebarContextValue { state: 'expanded' | 'collapsed'; open: boolean; setOpen: (open: boolean) => void; isMobile: boolean; openMobile: boolean; setOpenMobile: (open: boolean) => void; toggleSidebar: () => void; } declare function useSidebar(): SidebarContextValue; interface SidebarProviderProps extends HTMLAttributes { open?: boolean; /** Default expanded state (desktop). Default `true`. */ defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; /** Cmd/Ctrl+B toggles the sidebar. Default `true`. */ keyboardShortcut?: boolean; } declare const SidebarProvider: react.ForwardRefExoticComponent>; interface SidebarProps extends HTMLAttributes { side?: SidebarSide; /** Default `offcanvas`. */ collapsible?: SidebarCollapsible; /** Screen reader title for the mobile sheet. */ mobileTitle?: string; } declare const Sidebar: react.ForwardRefExoticComponent>; declare const SidebarTrigger: react.ForwardRefExoticComponent & react.RefAttributes>; declare const SidebarInset: react.ForwardRefExoticComponent & react.RefAttributes>; declare const SidebarHeader: react.ForwardRefExoticComponent & react.RefAttributes>; declare const SidebarContent: react.ForwardRefExoticComponent & react.RefAttributes>; declare const SidebarFooter: react.ForwardRefExoticComponent & react.RefAttributes>; declare const SidebarGroup: react.ForwardRefExoticComponent & react.RefAttributes>; declare const SidebarGroupLabel: react.ForwardRefExoticComponent & react.RefAttributes>; declare const SidebarGroupContent: react.ForwardRefExoticComponent & react.RefAttributes>; declare const SidebarMenu: react.ForwardRefExoticComponent & react.RefAttributes>; declare const SidebarMenuItem: react.ForwardRefExoticComponent & react.RefAttributes>; interface SidebarMenuButtonProps extends ButtonHTMLAttributes { /** Render as the single child element (e.g. `next/link`) instead of a `