test/node_modules/@vuepress/plugin-theme-data/lib/client/composables/useThemeData.d.ts
2024-08-13 09:27:52 +08:00

6 lines
293 B
TypeScript

import type { Ref } from 'vue';
import type { ThemeData } from '../../shared/index.js';
export type ThemeDataRef<T extends ThemeData = ThemeData> = Ref<T>;
export declare const themeData: ThemeDataRef;
export declare const useThemeData: <T extends ThemeData = ThemeData>() => ThemeDataRef<T>;