/** * 支持的 service 文件扩展名 */ export declare const SUPPORTED_SERVICE_EXTENSIONS: Set; /** * shouldExcludeServiceFileName — 判断 service 文件是否应被排除 * * 该 helper 位于 runtime/tooling 中立层,供 `service-loader` 与 `typegen` * 共同复用,避免扫描语义漂移,也避免 runtime 反向依赖 tooling。 */ export declare function shouldExcludeServiceFileName(filename: string): boolean; /** * filePathToServiceKeys — 文件路径 → service key 数组 */ export declare function filePathToServiceKeys(filePath: string, servicesDir: string): string[]; /** * toCamelCaseSegment — 将 kebab-case 路径段转为 camelCase */ export declare function toCamelCaseSegment(segment: string): string; /** * toGeneratedImportPath — 从 generated 声明文件到源码文件的 import 路径 * * TypeScript / NodeNext 用户项目源码通常使用 `.js` 扩展名引用源码模块, * 因此这里统一将源文件扩展名归一为 `.js`。 */ export declare function toGeneratedImportPath(generatedFilePath: string, sourceFilePath: string): string;