vuepress-theme-hope
Version:
A light vuepress theme with tons of features
13 lines • 522 B
TypeScript
import type { ComputedRef, InjectionKey } from "vue";
import type { SidebarItem } from "../utils/index.js";
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=setupSidebarItems.d.ts.map