import { a as SidebarGroupOptions, c as SidebarObjectOptions, d as AutoLinkOptions, f as NavItemOptions, h as AuthorName, i as SidebarArrayOptions, l as SidebarOptions, m as AuthorInfo, n as ThemePortfolioFrontmatter, o as SidebarItemOptions, p as Author, r as ThemeBasePageFrontmatter, s as SidebarLinkOptions, t as PortfolioMedia, u as SidebarStructureOptions } from "../portfolio-nyxgNY7c.js"; import { $ as getStringArray, A as NavbarLocaleOptions, B as InfoOptions, C as ThemeProjectHomePageFrontmatter, D as NavbarComponent, E as RouteLocaleData, F as MetaLocaleOptions, G as FeatureOptions, H as FeatureLocaleConfig, I as MetaLocateData, J as EncryptOptions, K as EncryptConfig, L as DocsRepoLocaleOptions, M as NavbarGroupOptions, N as NavbarLinkOptions, O as NavbarLayoutOptions, P as NavbarOptions, Q as getCategory, R as FooterLocaleOptions, S as ThemeProjectHomeHighlightOptions, T as ThemeNormalPageFrontmatter, U as FeatureLocaleData, V as FeatureConfig, W as FeatureLocaleOptions, X as PasswordOptions, Y as PasswordConfig, Z as getAuthor, _ as ThemePageData, a as DeprecatedLayoutOptions, b as ThemeProjectHomeFeatureOptions, c as LayoutLocaleOptions, d as SidebarFileInfo, et as getTag, f as SidebarInfo, g as SidebarSorterKeyword, h as SidebarSorterFunction, i as ThemeLocaleOptions, j as NavGroup, k as NavbarLocaleData, l as LayoutOptions, m as SidebarSorter, n as ThemeLocaleConfig, o as LayoutLocaleConfig, p as SidebarLocaleOptions, q as EncryptLocaleData, r as ThemeLocaleData, s as LayoutLocaleData, t as ThemeData, u as SidebarDirInfo, v as ThemeProjectHomeActionOptions, w as StructureSidebarDirOptions, x as ThemeProjectHomeHighlightItem, y as ThemeProjectHomeFeatureItem, z as InfoConfig } from "../data-l5Mz_szF.js"; import { a as BlogLocaleData, c as PaginationLocaleData, d as PageInfoData, f as PageType, i as BlogLocaleConfig, l as PageInfoType, n as ThemeBlogHomeProjectOptions, o as BlogLocaleOptions, r as ThemeHomePageFrontmatter, s as DeprecatedBlogLocaleData, t as ThemeBlogHomePageFrontmatter, u as ArticleInfoData } from "../blogHome-LKZyMZ4h.js"; import { a as DeprecatedAppearanceOptions, i as DarkModeOptions, n as AppearanceLocaleData, o as OutlookLocaleData, r as AppearanceOptions, t as AppearanceConfig } from "../appearance-tEJbvGTu.js"; import { DefaultLocaleInfo } from "@vuepress/helper"; import { BackToTopPluginOptions } from "@vuepress/plugin-back-to-top"; import { CopyCodePluginOptions } from "@vuepress/plugin-copy-code"; import { LinksCheckPluginOptions } from "@vuepress/plugin-links-check"; import { MarkdownChartPluginOptions } from "@vuepress/plugin-markdown-chart"; import { MarkdownExtPluginOptions } from "@vuepress/plugin-markdown-ext"; import { MarkdownFieldPluginOptions } from "@vuepress/plugin-markdown-field"; import { MarkdownFileTreePluginOptions } from "@vuepress/plugin-markdown-file-tree"; import { MarkdownHintPluginOptions } from "@vuepress/plugin-markdown-hint"; import { MarkdownIncludePluginOptions } from "@vuepress/plugin-markdown-include"; import { MarkdownMathPluginOptions } from "@vuepress/plugin-markdown-math"; import { MarkdownTabPluginOptions } from "@vuepress/plugin-markdown-tab"; import { PhotoSwipePluginOptions } from "@vuepress/plugin-photo-swipe"; import { ThemeData as ThemeData$1 } from "@vuepress/plugin-theme-data"; import { BlogPluginOptions, BlogTypeOptions } from "@vuepress/plugin-blog"; import { CatalogPluginOptions } from "@vuepress/plugin-catalog"; import { CommentOptions, CommentPluginOptions } from "@vuepress/plugin-comment"; import { ComponentPluginOptions } from "vuepress-plugin-components"; import { CopyrightPluginOptions } from "@vuepress/plugin-copyright"; import { IconPluginOptions } from "@vuepress/plugin-icon"; import { MarkdownImagePluginOptions } from "@vuepress/plugin-markdown-image"; import { MarkdownStylizePluginOptions } from "@vuepress/plugin-markdown-stylize"; import { MarkdownEnhancePluginOptions } from "vuepress-plugin-md-enhance"; import { MediaPluginOptions } from "@vuepress/plugin-media"; import { NoticeOptions, NoticePluginOptions } from "@vuepress/plugin-notice"; import { RedirectPluginOptions } from "@vuepress/plugin-redirect"; import { SeoPluginOptions } from "@vuepress/plugin-seo"; import { SitemapPluginOptions } from "@vuepress/plugin-sitemap"; import { ShikiPluginOptions } from "@vuepress/plugin-shiki"; import { ReadingTimePluginOptions } from "@vuepress/plugin-reading-time"; import { GitPluginOptions } from "@vuepress/plugin-git"; import { PageFrontmatter } from "vuepress/shared"; import { App, Page, Plugin, PluginConfig, ThemeFunction } from "vuepress/core"; import { FeedPluginOptions } from "@vuepress/plugin-feed"; import { PrismjsPluginOptions } from "@vuepress/plugin-prismjs"; import { PwaPluginOptions } from "@vuepress/plugin-pwa"; import { RevealJsPluginOptions } from "@vuepress/plugin-revealjs"; import { WatermarkPluginOptions } from "@vuepress/plugin-watermark"; import { DocSearchPluginOptions } from "@vuepress/plugin-docsearch"; import { MeiliSearchPluginOptions } from "@vuepress/plugin-meilisearch"; import { OramaPluginOptions } from "@vuepress/plugin-orama"; import { SearchPluginOptions } from "@vuepress/plugin-search"; import { SlimSearchPluginOptions } from "@vuepress/plugin-slimsearch"; //#region src/node/compact/checkLegacyStyle.d.ts /** * @deprecated You should use scss style files in v2 and avoid using it * @param app - VuePress app instance */ export declare const checkLegacyStyle: (app: App) => void; //#endregion //#region src/node/compact/convertFrontmatter.d.ts /** * @deprecated You should use V2 standard frontmatter and avoid using it * @param frontmatter - Page frontmatter * @param filePathRelative - Page file path relative to source directory * @returns Converted frontmatter */ export declare const convertFrontmatter: (frontmatter: PageFrontmatter & Record, filePathRelative: string) => ThemeBasePageFrontmatter & Record; //#endregion //#region src/node/compact/convertNavbarOptions.d.ts /** * @deprecated You should use V2 standard navbar config and avoid using it * @param config - Legacy navbar config * @param localePath - Current locale path, used for logger * @returns Converted navbar config or false if the config is invalid */ export declare const convertNavbarOptions: (config: unknown, localePath?: string) => NavbarOptions | false; /** * @deprecated You should use V2 standard navbar config and avoid using it * @param options - Legacy navbar layout options */ export declare const convertNavbarLayoutOptions: (options: Record) => void; //#endregion //#region src/node/compact/convertSidebarOptions.d.ts /** * @deprecated You should use V2 standard sidebar config and avoid using it * @param config - Original sidebar config * @param localePath - Current locale path, used for logger * @returns Converted sidebar config */ export declare const convertSidebarOptions: (config: unknown, localePath?: string) => SidebarOptions; //#endregion //#region src/node/typings/behavior.d.ts interface ThemeBehaviorOptions { /** * Whether to perform extra checks * * 是否执行额外检查 * * @default true */ check?: boolean; /** * Whether to compact with historical versions * * 是否兼容历史版本 * * @default true */ compact?: boolean; /** * Whether to enable customization * * 是否启用自定义 * * @default false */ custom?: boolean; /** * Whether to enable debug mode * * 是否启用调试模式 * * @default false */ debug?: boolean; /** * Whether to check VuePress version * * 是否检查 VuePress 版本 * * @default true */ checkVuePress?: boolean; } //#endregion //#region src/node/typings/plugins/blog.d.ts interface BlogOptions extends Partial> { /** * Path of article list * * 文章列表的路径 * * @default "/article/" */ article?: string; /** * Path of category map * * 分类地图页的地址 * * @default "/category/" */ category?: string; /** * Path to navigate when clicking category label * * `:name` will be automatically replaced by current category name * * 点击分类标签时跳转的路径。 * * 其中 `:name` 会被自动替换为当前分类名称 * * @default "/category/:name/" */ categoryItem?: string; /** * Path of tag map * * 标签地图页的地址 * * @default "/tag/" */ tag?: string; /** * Path to navigate when clicking tag label * * `:name` will be automatically replaced by current tag name * * 点击标签跳转的路径。 * * 其中 `:name` 会被自动替换为当前分类名称 * * @default "/tag/:name/" */ tagItem?: string; /** * Path of star article list * * 星标文章列表的路径 * * @default "/star/"" */ star?: string; /** * Path of timeline * * 时间线路径 * * @default "/timeline/" */ timeline?: string; /** * Excerpt generation * * 摘要生成 * * @default true */ excerpt?: boolean; /** * Additional Article Type * * This is an advanced option, please refer to the [blog plugin * documentation](https://ecosystem.vuejs.press/plugins/blog/blog/) for details * * 额外的文章类型 * * 这是一个高级选项,请参考 [blog 插件文档](https://ecosystem.vuejs.press/zh/plugins/blog/blog/) 了解详情 * * @default [ ] */ type?: BlogTypeOptions[]; } //#endregion //#region src/node/typings/plugins/options.d.ts interface DeprecatedThemePluginsOptions { /** @deprecated Use `markdown.linksCheck` instead */ linksCheck?: never; /** @deprecated Use `markdown.alert` and `markdown.hint` instead */ markdownHint?: never; /** * @deprecated Use `markdown.figure` `markdown.imgLazyload` `markdown.imgMark` `markdown.imgSize` * and `markdown.obsidianImgSize` instead */ markdownImage?: never; /** @deprecated Use `markdown.math` instead */ markdownMath?: never; /** @deprecated Use `markdown.codeTabs` and `markdown.tabs` instead */ markdownTab?: never; /** @deprecated Use `markdown.revealjs` instead */ revealjs?: never; /** @deprecated Use `markdown.highlighter` instead */ prismjs?: never; /** @deprecated Use `markdown.highlighter` instead */ shiki?: never; /** @deprecated Use `plugins.slimsearch` instead */ searchPro?: never; /** @deprecated Use `markdown` instead */ mdEnhance?: never; } interface ThemePluginsOptions extends DeprecatedThemePluginsOptions { /** * Enable active-header-links plugin or not * * 是否启用 active-header-links 插件 * * @default true * @see https://ecosystem.vuejs.press/plugins/development/active-header-links.html * @see https://ecosystem.vuejs.press/zh/plugins/development/active-header-links.html */ activeHeaderLinks?: boolean; /** * Back to top plugin options * * 返回顶部插件配置 * * @default true * @see https://ecosystem.vuejs.press/plugins/features/back-to-top.html * @see https://ecosystem.vuejs.press/zh/plugins/features/back-to-top.html */ backToTop?: BackToTopPluginOptions | boolean; /** * Blog plugin options * * 博客插件选项 * * @default false */ blog?: BlogOptions | boolean; /** * Catalog plugin options * * 自动目录插件选项 * * @default true * @see https://ecosystem.vuejs.press/plugins/features/catalog.html * @see https://ecosystem.vuejs.press/plugins/features/catalog.html */ catalog?: CatalogPluginOptions | boolean; /** * Components plugin options * * 插件选项配置 * * @see https://plugin-components.vuejs.press/config.html * @see https://plugin-components.vuejs.press/zh/config.html */ components?: ComponentPluginOptions | false; /** * Comment plugin options * * 评论插件配置 * * @see https://ecosystem.vuejs.press/plugins/blog/comment/ * @see https://ecosystem.vuejs.press/zh/plugins/blog/comment/ */ comment?: CommentPluginOptions | false; /** * Copy code plugin options * * 代码复制插件配置 * * @see https://ecosystem.vuejs.press/plugins/features/copy-code.html * @see https://ecosystem.vuejs.press/zh/plugins/features/copy-code.html */ copyCode?: CopyCodePluginOptions | boolean; /** * Copyright plugin options * * 版权信息插件配置 * * @default false * @see https://ecosystem.vuejs.press/plugins/features/copyright.html * @see https://ecosystem.vuejs.press/zh/plugins/features/copyright.html */ copyright?: CopyrightPluginOptions | boolean; /** * DocSearch plugin options * * DocSearch 插件选项 * * @see https://ecosystem.vuejs.press/plugins/search/docsearch.html * @see https://ecosystem.vuejs.press/zh/plugins/search/docsearch.html */ docsearch?: DocSearchPluginOptions; /** * Feed plugin options * * Feed 插件配置 * * @see https://ecosystem.vuejs.press/plugins/blog/feed/config.html * @see https://ecosystem.vuejs.press/zh/plugins/blog/feed/config.html */ feed?: Omit | boolean; /** * Git plugin options * * By default this plugin is only enabled in production mode for performance reasons. * * Git 插件配置 * * 默认情况下,出于性能原因,此插件仅在生产模式下启用。 * * @see https://ecosystem.vuejs.press/plugins/development/git.html * @see https://ecosystem.vuejs.press/zh/plugins/development/git.html */ git?: GitPluginOptions | boolean; /** * Icon plugin options * * 图标插件选项 */ icon?: Omit | boolean; /** * Media plugin options * * 媒体插件选项 * * @see https://ecosystem.vuejs.press/plugins/features/media.html * @see https://ecosystem.vuejs.press/zh/plugins/features/media.html */ media?: MediaPluginOptions | false; /** * MeiliSearch plugin options * * Meilisearch 插件配置 * * @see https://ecosystem.vuejs.press/plugins/search/meilisearch.html * @see https://ecosystem.vuejs.press/zh/plugins/search/meilisearch.html */ meilisearch?: MeiliSearchPluginOptions; /** * Notice options * * 公告选项 * * @default true */ notice?: NoticeOptions[] | NoticePluginOptions; /** * Enable nprogress plugin or not * * 是否启用 nprogress 插件 * * @default true */ nprogress?: boolean; /** * Orama plugin options * * Orama 插件配置 * * @see https://ecosystem.vuejs.press/plugins/search/orama.html * @see https://ecosystem.vuejs.press/zh/plugins/search/orama.html */ orama?: OramaPluginOptions | boolean; /** * Photo-swipe plugin options * * 图片预览插件配置 * * @default true * @see https://ecosystem.vuejs.press/plugins/features/photo-swipe.html * @see https://ecosystem.vuejs.press/zh/plugins/features/photo-swipe.html */ photoSwipe?: PhotoSwipePluginOptions | boolean; /** * PWA plugin options * * PWA 插件配置 * * @default false * @see https://ecosystem.vuejs.press/plugins/pwa/pwa/config.html * @see https://ecosystem.vuejs.press/zh/plugins/pwa/pwa/config.html */ pwa?: PwaPluginOptions | boolean; /** * Reading time plugin options * * 阅读时间插件配置 * * @default true * @see https://ecosystem.vuejs.press/plugins/development/reading-time.html * @see https://ecosystem.vuejs.press/zh/plugins/development/reading-time.html */ readingTime?: ReadingTimePluginOptions | boolean; /** * Redirect plugin options * * 重定向插件配置 * * @see https://ecosystem.vuejs.press/plugins/tools/redirect.html * @see https://ecosystem.vuejs.press/zh/plugins/tools/redirect.html */ redirect?: RedirectPluginOptions | boolean; /** * Search plugin options * * Search 插件配置 * * @deprecated Use `slimsearch` instead * @deprecated 使用 `slimsearch` 代替 * @see https://ecosystem.vuejs.press/plugins/search/search.html * @see https://ecosystem.vuejs.press/zh/plugins/search/search.html */ search?: SearchPluginOptions | boolean; /** * Slimsearch plugin options * * Slimsearch 插件配置 * * @see https://ecosystem.vuejs.press/zh/plugins/search/slimsearch.html * @see https://ecosystem.vuejs.press/zh/plugins/search/slimsearch.html */ slimsearch?: SlimSearchPluginOptions | boolean; /** * SEO plugin options * * SEO 插件配置 * * @default true * @see https://ecosystem.vuejs.press/plugins/seo/seo/config.html * @see https://ecosystem.vuejs.press/zh/plugins/seo/seo/config.html */ seo?: Omit | boolean; /** * Sitemap plugin options * * Sitemap 插件配置 * * @default true * @see https://ecosystem.vuejs.press/plugins/seo/sitemap/config.html * @see https://ecosystem.vuejs.press/zh/plugins/seo/sitemap/config.html */ sitemap?: Omit | boolean; /** * Watermark plugin options * * 水印插件配置 * * @default false * @see https://ecosystem.vuejs.press/plugins/features/watermark.html * @see https://ecosystem.vuejs.press/zh/plugins/features/watermark.html */ watermark?: WatermarkPluginOptions | boolean; } //#endregion //#region src/node/typings/helper.d.ts type Helper = (options: Options) => Options; type ThemeNavbarHelper = Helper; type ThemeSidebarHelper = Helper; type ThemeSidebarArrayHelper = Helper; type ThemeSidebarObjectHelper = Helper; type ThemeBackToTopPluginHelper = Helper; type ThemeBlogPluginHelper = Helper; type ThemeCatalogPluginHelper = Helper; type ThemeCommentPluginHelper = Helper; type ThemeComponentPluginHelper = Helper; type ThemeCopyCodePluginHelper = Helper; type ThemeCopyrightPluginHelper = Helper; type ThemeFeedPluginHelper = Helper | boolean>; type ThemeGitPluginHelper = Helper; type ThemeLinksCheckPluginHelper = Helper; type ThemeMediaPluginHelper = Helper; type ThemeNoticePluginHelper = Helper; type ThemePhotoSwipePluginHelper = Helper; type ThemePrismJsPluginHelper = Helper; type ThemePwaPluginHelper = Helper; type ThemeReadingTimePluginHelper = Helper; type ThemeRedirectPluginHelper = Helper; type ThemeRevealPluginHelper = Helper | boolean>; type ThemeSEOPluginHelper = Helper | boolean>; type ThemeShikiPluginHelper = Helper; type ThemeSitemapPluginHelper = Helper | boolean>; type ThemeWatermarkPluginHelper = Helper; //#endregion //#region src/node/typings/markdown.d.ts type MarkdownHighlighterOptions = ({ type: "prismjs"; } & PrismjsPluginOptions) | ({ type: "shiki"; } & ShikiPluginOptions); interface ThemeMarkdownOptions extends MarkdownChartPluginOptions, MarkdownExtPluginOptions, Pick, MarkdownFileTreePluginOptions, Pick, Pick, Omit, MarkdownTabPluginOptions, Pick { /** * Link check plugin options * * 链接检查插件选项 * * @see https://ecosystem.vuejs.press/plugins/markdown/links-check.html * @see https://ecosystem.vuejs.press/zh/plugins/markdown/links-check.html */ linksCheck?: LinksCheckPluginOptions | boolean; /** * Whether enable native image lazy loading * * 是否启用原生的图片懒加载。 * * @default false */ imgLazyload?: MarkdownImagePluginOptions["lazyload"]; /** * Whether to enable gfm image id mark support * * 是否启用 GFM 图片 ID 标记。 * * @default false */ imgMark?: MarkdownImagePluginOptions["mark"]; /** * Whether to enable image size mark support * * 是否启用图片大小标记支持。 * * @default false */ imgSize?: MarkdownImagePluginOptions["size"]; /** * Whether to enable obsidian image size mark support * * 是否启用 Obsidian 图片大小标记支持。 * * @default false */ obsidianImgSize?: MarkdownImagePluginOptions["obsidianSize"]; /** * Whether to enable legacy image size mark support * * 是否启用旧版图片大小标记支持。 * * @deprecated * @default false */ legacyImgSize?: MarkdownImagePluginOptions["legacySize"]; /** * Whether to enable markdown include support * * 是否启用 markdown include 支持。 * * @default false */ include?: MarkdownIncludePluginOptions | boolean; /** * Whether to enable markdown math support * * 是否启用 markdown math 支持。 * * @default false */ math?: MarkdownMathPluginOptions | boolean; /** * Whether to enable preview support * * 是否启用预览支持 */ preview?: boolean; /** * Customizing token stylize * * 自定义标记样式 */ stylize?: MarkdownStylizePluginOptions["custom"]; /** * Whether to enable revealjs support * * 是否启用 revealjs 支持 */ revealjs?: Omit | boolean; /** * Markdown highlighter options * * Markdown 高亮器选项 * * @default "shiki" */ highlighter?: MarkdownHighlighterOptions | "prismjs" | "shiki" | false; } //#endregion //#region src/node/typings/options.d.ts interface ThemeOptions extends ThemeData$1, AppearanceOptions, FeatureOptions, InfoOptions, LayoutOptions { /** * Theme markdown options * * 主题 Markdown 选项 */ markdown?: ThemeMarkdownOptions; /** * Theme plugins options * * 主题插件选项 */ plugins?: ThemePluginsOptions; } //#endregion //#region src/node/compact/convertThemeOptions.d.ts /** * @deprecated You should use V2 standard options and avoid using it * @param themeOptions - Theme options * @returns Converted theme options */ export declare const convertThemeOptions: (themeOptions: Record) => ThemeOptions; //#endregion //#region src/node/helpers.d.ts export declare const navbar: ThemeNavbarHelper; export declare const sidebar: ThemeSidebarHelper; export declare const arraySidebar: ThemeSidebarArrayHelper; export declare const objectSidebar: ThemeSidebarObjectHelper; export declare const backToTop: ThemeBackToTopPluginHelper; export declare const blog: ThemeBlogPluginHelper; export declare const catalog: ThemeCatalogPluginHelper; export declare const comment: ThemeCommentPluginHelper; export declare const components: ThemeComponentPluginHelper; export declare const copyCode: ThemeCopyCodePluginHelper; export declare const copyright: ThemeCopyrightPluginHelper; export declare const feed: ThemeFeedPluginHelper; export declare const git: ThemeGitPluginHelper; export declare const linksCheck: ThemeLinksCheckPluginHelper; export declare const media: ThemeMediaPluginHelper; export declare const notice: ThemeNoticePluginHelper; export declare const photoSwipe: ThemePhotoSwipePluginHelper; export declare const prismjs: ThemePrismJsPluginHelper; export declare const pwa: ThemePwaPluginHelper; export declare const readingTime: ThemeReadingTimePluginHelper; export declare const redirect: ThemeRedirectPluginHelper; export declare const revealjs: ThemeRevealPluginHelper; export declare const seo: ThemeSEOPluginHelper; export declare const shiki: ThemeShikiPluginHelper; export declare const sitemap: ThemeSitemapPluginHelper; export declare const watermark: ThemeWatermarkPluginHelper; //#endregion //#region src/node/hopeTheme.d.ts /** * VuePress Theme Hope * * @param themeOptions - Theme options * @param behaviorOptions - Theme behavior options * @returns VuePress theme instance */ export declare const hopeTheme: (themeOptions: ThemeOptions, behaviorOptions?: ThemeBehaviorOptions | boolean) => ThemeFunction; //#endregion //#region src/node/locales/index.d.ts export declare const themeLocaleInfo: DefaultLocaleInfo; //#endregion //#region src/node/config/getEncryptConfig.d.ts export declare const getEncryptConfig: ({ admin, config, global }?: EncryptOptions) => EncryptConfig; //#endregion //#region src/node/config/getSocialMediaIcons.d.ts export declare const getSocialMediaIcons: (themeData: ThemeData) => Record; //#endregion //#region src/node/config/getThemeStatus.d.ts export interface BlogTypeInfo { key: string; path: string; } export interface ThemeStatus { enableBlog: boolean; enableCatalog: boolean; enableEncrypt: boolean; enableIcon: boolean; enableReadingTime: boolean; blogTypes: BlogTypeInfo[]; isI18nProject: boolean; hasRepo: boolean; } export declare const getThemeStatus: (app: App, themeOptions: ThemeOptions) => ThemeStatus; //#endregion //#region src/node/config/getThemeData.d.ts /** * Get client-side `themeData` * * @param app - VuePress app instance * @param themeOptions - Theme options * @param themeStatus - Theme status * @returns Theme data for client */ export declare const getThemeData: (app: App, { encrypt, ...themeOptions }: ThemeOptions, { enableBlog, enableEncrypt }: ThemeStatus) => ThemeData; //#endregion //#region src/node/extendsBundlerOptions.d.ts export declare const extendsBundlerOptions: (bundlerOptions: unknown, app: App, custom?: boolean) => void; //#endregion //#region src/node/plugins/getPlugins.d.ts /** * Get theme plugins * * @param app - VuePress app * @param themeData - Theme data * @param options - Theme options * @param compact - Whether to use compact mode * @returns Theme plugins */ export declare const getPlugins: (app: App, themeData: ThemeData, { markdown: markdownOptions, plugins: pluginsOptions, ...options }: Pick, compact?: boolean) => PluginConfig; //#endregion //#region src/node/plugins/icon.d.ts /** * Resolve options for `@vuepress/plugin-icon` * * `@vuepress/plugin-icon` 的选项处理 * * @param themeData - Theme data / 主题数据 * @param options - Icon plugin options or a boolean to enable it with default options / * 图标插件选项,或用于以默认选项启用它的布尔值 * @returns Icon plugin instance or null / 图标插件实例或 null */ export declare const getIconPlugin: (themeData: ThemeData, options?: Omit | boolean) => Plugin | null; //#endregion //#region src/node/plugins/prismjs.d.ts /** * Composition Api to use `@vuepress/plugin-prismjs` * * @param app - VuePress app instance * @param options - User options */ export declare const usePrismjsPlugin: (app: App, options?: PrismjsPluginOptions) => void; /** * Composition Api to remove `@vuepress/plugin-prismjs` * * @param app - VuePress app instance */ export declare const removePrismjsPlugin: (app: App) => void; //#endregion //#region src/node/plugins/shiki.d.ts /** * Composition Api to use `@vuepress/plugin-shiki` * * @param app - VuePress app * @param options - Shiki plugin options */ export declare const useShikiPlugin: (app: App, options?: ShikiPluginOptions) => void; /** * Composition Api to remove `@vuepress/plugin-shiki` * * @param app - VuePress app */ export declare const removeShikiPlugin: (app: App) => void; //#endregion //#region src/node/plugins/usePlugins.d.ts /** * Use plugins to ensure they apply first * * @param app - VuePress app instance * @param themeData - Theme data * @param highlighter - Highlighter options * @param plugins - User plugins options * @param hotReload - Is hot reload mode * @param behavior - Theme behavior options */ export declare const usePlugins: (app: App, themeData: ThemeData, { highlighter }: ThemeMarkdownOptions, plugins: ThemePluginsOptions, hotReload: boolean, behavior: ThemeBehaviorOptions) => void; //#endregion //#region src/node/prepare/prepareConfigFile.d.ts export declare const prepareConfigFile: (app: App, { enableCatalog, enableBlog, enableEncrypt, enableIcon }: ThemeStatus, { custom }: ThemeBehaviorOptions) => Promise; //#endregion //#region src/node/prepare/prepareHighLighterScss.d.ts export declare const prepareHighLighterScss: (app: App) => Promise; //#endregion //#region src/node/prepare/prepareSocialMediaIcons.d.ts export declare const prepareSocialMediaIcons: (app: App, icons?: Record | null) => Promise; //#endregion //#region src/node/prepare/sidebar/getSidebarInfo.d.ts export interface ThemeSidebarInfoOptions { pages: Page[]; sorters: SidebarSorterFunction[]; scope: string; } export declare const getSidebarInfo: ({ pages, sorters, scope }: ThemeSidebarInfoOptions) => SidebarInfo[]; //#endregion //#region src/node/prepare/sidebar/getSidebarSorter.d.ts export declare const sidebarReadmeSorter: (infoA: SidebarInfo, infoB: SidebarInfo) => number; export declare const sidebarOrderSorter: (infoA: SidebarInfo, infoB: SidebarInfo) => number; export declare const sidebarDateSorter: (infoA: SidebarInfo, infoB: SidebarInfo) => number; export declare const sidebarDateDescSorter: (infoA: SidebarInfo, infoB: SidebarInfo) => number; export declare const sidebarFilenameSorter: (infoA: SidebarInfo, infoB: SidebarInfo) => number; export declare const sidebarTitleSorter: (infoA: SidebarInfo, infoB: SidebarInfo) => number; export declare const getSidebarSorter: (sorter?: SidebarSorter) => SidebarSorterFunction[]; //#endregion //#region src/node/prepare/sidebar/getStructureInfo.d.ts export interface FileInfo { type: "file"; filename: string; path: string; } export interface DirInfo { type: "dir"; dirname: string; path: string; children: StructureInfo[]; } export type StructureInfo = DirInfo | FileInfo; export declare const getStructureInfo: (pages: Page[], scope: string) => StructureInfo[]; //#endregion //#region src/node/prepare/sidebar/getTitleFromFilename.d.ts export declare const getTitleFromFilename: (filename: string) => string; //#endregion //#region src/node/prepare/sidebar/prepareSidebarData.d.ts export declare const getSidebarData: (app: App, themeData: ThemeData, sorter?: SidebarSorter) => SidebarOptions; export declare const prepareSidebarData: (app: App, themeData: ThemeData, sorter?: SidebarSorter) => Promise; //#endregion export { type AppearanceConfig, type AppearanceLocaleData, type AppearanceOptions, type ArticleInfoData, type Author, type AuthorInfo, type AuthorName, type AutoLinkOptions, type BlogLocaleConfig, type BlogLocaleData, type BlogLocaleOptions, type BlogOptions, type DarkModeOptions, type DeprecatedAppearanceOptions, type DeprecatedBlogLocaleData, type DeprecatedLayoutOptions, type DeprecatedThemePluginsOptions, type DocsRepoLocaleOptions, type EncryptConfig, type EncryptLocaleData, type EncryptOptions, type FeatureConfig, type FeatureLocaleConfig, type FeatureLocaleData, type FeatureLocaleOptions, type FeatureOptions, type FooterLocaleOptions, type InfoConfig, type InfoOptions, type LayoutLocaleConfig, type LayoutLocaleData, type LayoutLocaleOptions, type LayoutOptions, type MarkdownHighlighterOptions, type MetaLocaleOptions, type MetaLocateData, type NavGroup, type NavItemOptions, type NavbarComponent, type NavbarGroupOptions, type NavbarLayoutOptions, type NavbarLinkOptions, type NavbarLocaleData, type NavbarLocaleOptions, type NavbarOptions, type OutlookLocaleData, type PageInfoData, type PageInfoType, type PageType, type PaginationLocaleData, type PasswordConfig, type PasswordOptions, type PortfolioMedia, type RouteLocaleData, type SidebarArrayOptions, type SidebarDirInfo, type SidebarFileInfo, type SidebarGroupOptions, type SidebarInfo, type SidebarItemOptions, type SidebarLinkOptions, type SidebarLocaleOptions, type SidebarObjectOptions, type SidebarOptions, type SidebarSorter, type SidebarSorterFunction, type SidebarSorterKeyword, type SidebarStructureOptions, type StructureSidebarDirOptions, type ThemeBackToTopPluginHelper, type ThemeBasePageFrontmatter, type ThemeBehaviorOptions, type ThemeBlogHomePageFrontmatter, type ThemeBlogHomeProjectOptions, type ThemeBlogPluginHelper, type ThemeCatalogPluginHelper, type ThemeCommentPluginHelper, type ThemeComponentPluginHelper, type ThemeCopyCodePluginHelper, type ThemeCopyrightPluginHelper, type ThemeData, type ThemeFeedPluginHelper, type ThemeGitPluginHelper, type ThemeHomePageFrontmatter, type ThemeLinksCheckPluginHelper, type ThemeLocaleConfig, type ThemeLocaleData, type ThemeLocaleOptions, type ThemeMarkdownOptions, type ThemeMediaPluginHelper, type ThemeNavbarHelper, type ThemeNormalPageFrontmatter, type ThemeNoticePluginHelper, type ThemeOptions, type ThemePageData, type ThemePhotoSwipePluginHelper, type ThemePluginsOptions, type ThemePortfolioFrontmatter, type ThemePrismJsPluginHelper, type ThemeProjectHomeActionOptions, type ThemeProjectHomeFeatureItem, type ThemeProjectHomeFeatureOptions, type ThemeProjectHomeHighlightItem, type ThemeProjectHomeHighlightOptions, type ThemeProjectHomePageFrontmatter, type ThemePwaPluginHelper, type ThemeReadingTimePluginHelper, type ThemeRedirectPluginHelper, type ThemeRevealPluginHelper, type ThemeSEOPluginHelper, type ThemeShikiPluginHelper, type ThemeSidebarArrayHelper, type ThemeSidebarHelper, type ThemeSidebarObjectHelper, type ThemeSitemapPluginHelper, type ThemeWatermarkPluginHelper, getAuthor, getCategory, getStringArray, getTag }; //# sourceMappingURL=index.d.ts.map