UNPKG

vuepress-theme-hope

Version:

A light vuepress theme with tons of features

13 lines (12 loc) 463 B
import type { BlogTypeData } from "@vuepress/plugin-blog/client"; import type { ComputedRef, InjectionKey } from "vue"; import type { ArticleInfoData } from "../../../shared/index.js"; export type StarsRef = ComputedRef<BlogTypeData<ArticleInfoData>>; export declare const starsSymbol: InjectionKey<StarsRef>; /** * Inject stars * * @returns Stars global computed */ export declare const useStars: () => StarsRef; export declare const setupStars: () => void;