import { SidebarProviderProps } from "./Context.cjs"; import { SidebarSlotProps } from "./SidebarSlots.cjs"; import { SidebarGroupLabelProps, SidebarItemProps } from "./SidebarItem.cjs"; import { SidebarNavProps } from "./SidebarNav.cjs"; import { SidebarToggleProps } from "./SidebarToggle.cjs"; import { SidebarRailProps } from "./SidebarRail.cjs"; import { SidebarRailItemProps } from "./SidebarRailItem.cjs"; import { ReactNode, Ref } from "react"; export interface SidebarProps { /** * The sidebar content, typically `Sidebar.Header`, `Sidebar.Nav`, and * `Sidebar.Footer`. With a `Sidebar.Rail` child (two-level mode), the rail * renders its own layout and `` becomes a pure passthrough. */ children?: ReactNode; } export declare const Sidebar: (({ children, ref }: SidebarProps & { ref?: Ref; }) => import("react").JSX.Element) & { Provider: ({ children, defaultOpen, open, onOpenChange, variant, size }: SidebarProviderProps) => import("react").JSX.Element; Header: { ({ children, ref }: SidebarSlotProps & { ref?: Ref; }): import("react").JSX.Element; __SIDEBAR_HEADER__: true; }; Footer: { ({ children, ref }: SidebarSlotProps & { ref?: Ref; }): import("react").JSX.Element; __SIDEBAR_FOOTER__: true; }; GroupLabel: { (_props: SidebarGroupLabelProps): import("react").ReactElement | null; __SIDEBAR_GROUP_LABEL__: true; }; Nav: { ({ children, "aria-label": ariaLabelProp, current: currentProp, ref }: SidebarNavProps & { ref?: Ref; }): import("react").JSX.Element; __SIDEBAR_NAV__: true; }; Item: { (_props: SidebarItemProps): import("react").ReactElement | null; __SIDEBAR_ITEM__: true; }; Separator: { (): import("react").ReactElement | null; __SIDEBAR_SEPARATOR__: true; }; Toggle: ({ variant }?: SidebarToggleProps) => import("react").JSX.Element; Rail: { ({ children, "aria-label": ariaLabel, current, ref }: SidebarRailProps): import("react").JSX.Element; __SIDEBAR_RAIL__: true; }; RailItem: { (_props: SidebarRailItemProps): import("react").ReactElement | null; __SIDEBAR_RAIL_ITEM__: true; }; };