vuepress-theme-hope
Version:
A light vuepress theme with tons of features
14 lines • 554 B
TypeScript
import type { BlogCategoryData } from "@vuepress/plugin-blog/client";
import type { ComputedRef, InjectionKey } from "vue";
import type { ArticleInfoData } from "../../../../shared/index.js";
export type CategoryMapRef = ComputedRef<BlogCategoryData<ArticleInfoData>>;
export declare const categoryMapSymbol: InjectionKey<CategoryMapRef>;
/**
* Inject categoryMap
*/
export declare const useCategoryMap: () => CategoryMapRef;
/**
* Provide categoryMap
*/
export declare const setupCategoryMap: () => void;
//# sourceMappingURL=useCategoryMap.d.ts.map