import type { App } from 'vuepress/core'; /** * Add tags as customElement * * 将标签添加为自定义元素 * * @param bundlerOptions - VuePress Bundler config / VuePress 打包器配置 * @param app - VuePress Node App / VuePress Node 应用 * @param customElement - Tags recognized as custom element / 识别为自定义元素的标签 * * @example * ```ts * // Add single custom element * addCustomElement(bundlerOptions, app, 'my-element') * * // Add multiple custom elements * addCustomElement(bundlerOptions, app, ['element1', 'element2']) * * // Add elements matching a pattern * addCustomElement(bundlerOptions, app, /^my-/) * ``` */ export declare const addCustomElement: (bundlerOptions: unknown, app: App, customElement: RegExp | string[] | string) => void;