hirsun-vuepress-theme-hope-plus
Version:
A light vuepress theme with tons of features and typewriter effect
14 lines (13 loc) • 502 B
TypeScript
import type { ComputedRef, InjectionKey } from "vue";
import type { BlogCategoryData } from "vuepress-plugin-blog2/client";
import type { ArticleInfo } from "../../../../shared/index.js";
export type CategoryMapRef = ComputedRef<BlogCategoryData<ArticleInfo>>;
export declare const categoryMapSymbol: InjectionKey<CategoryMapRef>;
/**
* Inject categoryMap
*/
export declare const useCategoryMap: () => CategoryMapRef;
/**
* Provide categoryMap
*/
export declare const setupCategoryMap: () => void;