import { type NormalizedSidebar, type SidebarData } from '@rspress/shared'; /** * get the sidebar group for the current page * @param sidebar const { sidebar } = useLocaleSiteData(); * @param currentPathname * @returns */ export declare const getSidebarDataGroup: (sidebar: NormalizedSidebar, currentPathname: string) => SidebarData; export declare function useSidebar(): SidebarData; /** * handle the collapsed state of the sidebar groups */ export declare function useSidebarDynamic(): [ SidebarData, React.Dispatch> ];