wangrong
2026-09-30 6864a9f441c366900043e24410fb3f1e3a3f0441
1
2
3
4
5
6
7
/**
 * 将模板字符串扁平化处理,转换为 Service 类型定义
 * @param template - 包含 Service 类型定义的模板字符串
 * @returns 处理后的 Service 类型定义字符串
 * @throws {Error} 当模板中找不到 Service 类型定义时抛出错误
 */
export declare function flatten(template: string): string;