vuepress-theme-hope
Version:
A light vuepress theme with tons of features
13 lines • 530 B
TypeScript
import type { ComputedRef, InjectionKey } from "vue";
import type { SidebarItem } from "@theme-hope/typings/sidebar";
export type SidebarItemsRef = ComputedRef<SidebarItem[]>;
export declare const sidebarItemsSymbol: InjectionKey<SidebarItemsRef>;
/**
* Create sidebar items ref and provide as global computed in setup
*/
export declare const setupSidebarItems: () => void;
/**
* Inject sidebar items global computed
*/
export declare const useSidebarItems: () => SidebarItemsRef;
//# sourceMappingURL=useSidebarItems.d.ts.map