/// declare module 'splitpanes' declare module 'element-plus/dist/locale/zh-cn.mjs' declare module 'vite-plugin-eslint' { import type { Plugin } from 'vite' interface EslintPluginOptions { /** * Enable linting on start * @default true */ lintOnStart?: boolean /** * Enable linting on dev server start * @default true */ lintOnDev?: boolean /** * Enable linting on build * @default true */ lintOnBuild?: boolean /** * Emit errors instead of warnings * @default false */ emitError?: boolean /** * Emit warnings as errors * @default false */ emitWarning?: boolean /** * Cache errors and warnings * @default true */ cache?: boolean /** * Path to eslint cache file * @default node_modules/.vite/vite-plugin-eslint/cache.json */ cacheLocation?: string /** * Path to eslint config file * @default undefined */ configFile?: string /** * Fix errors on save * @default false */ fix?: boolean /** * Path to eslint ignore file * @default undefined */ ignorePath?: string /** * List of files to include * @default ['**\/*.{js,jsx,ts,tsx,vue}'] */ include?: string | string[] /** * List of files to exclude * @default ['node_modules'] */ exclude?: string | string[] } function eslintPlugin(options?: EslintPluginOptions): Plugin export default eslintPlugin } declare interface Window { // 是否存在无界 __POWERED_BY_WUJIE__?: boolean // 子应用公共加载路径 __WUJIE_PUBLIC_PATH__: string // 原生的querySelector __WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__: typeof Document.prototype.querySelector // 原生的querySelectorAll __WUJIE_RAW_DOCUMENT_QUERY_SELECTOR_ALL__: typeof Document.prototype.querySelectorAll // 原生的window对象 __WUJIE_RAW_WINDOW__: Window // 子应用沙盒实例 __WUJIE: WuJie // 子应用mount函数 __WUJIE_MOUNT: () => void // 子应用unmount函数 __WUJIE_UNMOUNT: () => void // 注入对象 $wujie: { bus: EventBus shadowRoot?: ShadowRoot props?: { [key: string]: any } location?: Object } }