import { PluginOptionAPI } from './plugin' import { NormalizedPlugin } from './plugin-api' export interface ResolvedComponent { filename: string componentName: string isInternal: boolean path: string } export interface ResolvedTheme { path?: string name?: string shortcut?: string entry: Record | NormalizedPlugin } export interface ThemeAPI { theme: ResolvedTheme parentTheme: ResolvedTheme existsParentTheme: boolean vuepressPlugin: PluginOptionAPI componentMap: Record layoutComponentMap: Record setAlias: (alias: Record) => void init: () => void getComponents: () => Record getLayoutComponentMap: () => Record }