declare module 'vg-print' { import type { DefineComponent } from 'vue'; export const FullDesigner: DefineComponent, {}, any>; export const hiprint: { register(options: { authKey: string }): void }; export const createTemplate: (json: unknown) => unknown; export const printBrowser: (tpl: unknown, data: unknown) => void; const plugin: { install: (app: unknown) => void }; export default plugin; } declare module 'vg-print/style.css' { const css: string; export default css; } declare module 'vue-request-editor' { import type { DefineComponent } from 'vue'; export const RequestEditor: DefineComponent, {}, any>; } /// /// declare module '*.vue' { import { DefineComponent } from 'vue'; // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types const component: DefineComponent<{}, {}, any>; export default component; } declare module 'vue-pdf-embed' { import type { DefineComponent } from 'vue'; const VuePdfEmbed: DefineComponent, {}, any>; export default VuePdfEmbed; } declare global { interface Window { d3?: unknown; topojson?: unknown; } } interface ImportMetaEnv { readonly VITE_API_BASE_URL: string; readonly VITE_OMS_URL?: string; /** 部署目标:ideship | nanafa(本地开发请指向测试 API) */ readonly VITE_DEPLOY_TARGET?: 'ideship' | 'nanafa' | string; /** Admin 基址;本地默认测试 https://api.test.ideship.com/admin */ readonly VITE_API_ADMIN_URL?: string; readonly VITE_OMS_ADMIN_URL?: string; /** API 根;本地默认测试 https://api.test.ideship.com */ readonly VITE_API_ORIGIN?: string; /** 静态资源 origin;本地默认测试 admin */ readonly VITE_API_ASSET_ORIGIN?: string; /** 企微客服链接 */ readonly VITE_WECOM_KF_URL?: string; /** Google Analytics 4 Measurement ID,如 G-XXXXXXXX;空则不加载 */ readonly VITE_GA_MEASUREMENT_ID?: string; }