hirsun-vuepress-theme-hope-plus
Version:
A light vuepress theme with tons of features and typewriter effect
13 lines (12 loc) • 491 B
TypeScript
import type { ComputedRef, InjectionKey } from "vue";
import type { ResolvedSidebarItem } from "../utils/index.js";
export type SidebarItemsRef = ComputedRef<ResolvedSidebarItem[]>;
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;