mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-25 11:28:13 +08:00
79 lines
1.4 KiB
TypeScript
79 lines
1.4 KiB
TypeScript
declare module '*.vue' {
|
|
import type { ComponentOptions } from 'vue'
|
|
|
|
const comp: ComponentOptions
|
|
export default comp
|
|
}
|
|
|
|
declare const __VUEPRESS_DEV__: string
|
|
|
|
declare module '@internal/articleTagColors' {
|
|
const articleTagColors: Record<string, string>
|
|
export {
|
|
articleTagColors,
|
|
}
|
|
}
|
|
|
|
declare module '@internal/themePlumeData' {
|
|
import type { PlumeThemeData } from '../shared/index.js'
|
|
|
|
const themeData: PlumeThemeData
|
|
export {
|
|
themeData,
|
|
}
|
|
}
|
|
|
|
declare module '@internal/blogData' {
|
|
import type { PlumeThemeBlogPostData } from '../shared/index.js'
|
|
|
|
const blogPostData: PlumeThemeBlogPostData
|
|
export {
|
|
blogPostData,
|
|
}
|
|
}
|
|
|
|
declare module '@internal/sidebar' {
|
|
import type { Sidebar, SidebarItem } from '../shared/index.js'
|
|
|
|
const sidebar: {
|
|
__auto__: SidebarItem[] | { link: string, items: SidebarItem[] }
|
|
__home__: Record<string, string>
|
|
[key: string]: Sidebar
|
|
}
|
|
export {
|
|
sidebar,
|
|
}
|
|
}
|
|
|
|
declare module '@internal/encrypt' {
|
|
|
|
const encrypt: readonly [
|
|
boolean, // global
|
|
string, // separator
|
|
string, // admin
|
|
string[], // keys
|
|
Record<string, string>, // rules
|
|
]
|
|
|
|
export {
|
|
encrypt,
|
|
}
|
|
}
|
|
|
|
declare module '@internal/iconify' {
|
|
const icons: Record<string, string>
|
|
export {
|
|
icons,
|
|
}
|
|
}
|
|
|
|
declare module 'swiper/css' {
|
|
const res: any
|
|
export default res
|
|
}
|
|
|
|
declare module 'swiper/css/*' {
|
|
const res: any
|
|
export default res
|
|
}
|