//#region src/vite/vitePluginCopyHtml.d.ts /** * 将模版html内容拷贝到最终结果 * @param { string } template_url html url * @returns Plugin * @description EN: Vite plugin factory that injects built CSS and JS asset links into a template HTML file and writes it to the build output. */ declare function vitePluginCopyHtml(template_url: string): Promise<{ name: string; writeBundle(options: any, data: any): void; }>; //#endregion //#region src/vite/vitePluginExport.d.ts /** * 将一些vite不能处理的文件导出 * @param { string } config 后缀文件 * @returns vitePlugin */ /** * @description EN: Simple Vite plugin that converts a matched file into a default export of its content string. */ declare function vitePluginExport(config: string): { name: string; transform(src: any, id: string): { code: string; map: null; } | undefined; }; //#endregion export { vitePluginCopyHtml, vitePluginExport };