UNPKG

vuepress-theme-hope

Version:

A light vuepress theme with tons of features

14 lines (13 loc) 501 B
import type { BlogCategoryData } from "@vuepress/plugin-blog/client"; import type { ComputedRef, InjectionKey } from "vue"; import type { ArticleInfoData } from "../../../shared/index.js"; export type TagMapRef = ComputedRef<BlogCategoryData<ArticleInfoData>>; export declare const tagMapSymbol: InjectionKey<TagMapRef>; /** * Inject tagMap * * @returns TagMap global computed */ export declare const useTagMap: () => TagMapRef; /** Provide tagMap */ export declare const setupTagMap: () => void;