/** * @description 编译自定义模板文件 */ interface TemplateInfo { name: string; templateType: 'commonTemplate' | 'customTemplate' | 'template' | 'transform' | 'fetchMethod'; templatePath: string; defaultCode?: string; } export declare function getTemplate(rootPath: string, templateInfo: TemplateInfo, originalPath?: string): T; export {};