forked from vuejs/vitepress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.d.ts
23 lines (19 loc) · 798 Bytes
/
theme.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// so that users can do `import DefaultTheme from 'vitepress/theme'`
import type { DefineComponent } from 'vue'
import { EnhanceAppContext } from './dist/client/index.js'
// TODO: add props for these
export const VPHomeHero: DefineComponent
export const VPHomeFeatures: DefineComponent
export const VPHomeSponsors: DefineComponent
export const VPDocAsideSponsors: DefineComponent
export const VPTeamPage: DefineComponent
export const VPTeamPageTitle: DefineComponent
export const VPTeamPageSection: DefineComponent
export const VPTeamMembers: DefineComponent
declare const theme: {
Layout: DefineComponent
enhanceApp: (ctx: EnhanceAppContext) => void
}
export default theme
export type { DefaultTheme } from './types/default-theme.js'
export const useSidebar: () => DefaultTheme.DocSidebar