import Vue, { AsyncComponent } from 'vue' export declare class Store { store: Vue // eslint-disable-next-line @typescript-eslint/no-explicit-any $get(key: string): any // eslint-disable-next-line @typescript-eslint/no-explicit-any $set(key: string, value: any): void $emit: typeof Vue.prototype.$emit $on: typeof Vue.prototype.$on } export declare class VuePressStore extends Store { isPageExists(pageKey: string): boolean isPageLoaded(pageKey: string): boolean getPageAsyncComponent(pageKey: string): () => Promise loadPageAsyncComponent(pageKey: string): Promise registerPageAsyncComponent(pageKey: string): void } declare module 'vue/types/vue' { export interface Vue { $vuepress: VuePressStore } export interface VueConstructor { $vuepress: VuePressStore } }