export declare const createModule: (str: string, fileName: string) => string; export declare const createLocalModule: (url: string, fileName: string) => Promise; export declare const createCSSModule: (str: string, fileName: string) => string; /** 解析 ESM 文本为 模块并导入的方式 */ export declare const ModuleEval: (str: string, fileName?: string) => Promise; /** 为 iife 文本添加 ESM 导出 */ export declare const IifeToESMEval: (str: string, exportMap: { [key: string]: string; }) => Promise;