export declare function collectGeneratedTypeScriptModulePaths(directory: string, recursive?: boolean): Promise; export declare function isGeneratedTypeScriptModuleFilename(filename: string): boolean; /** Return generated modules that still use the preceding export convention. */ export declare function collectHistoricalGeneratedExportFilePaths(workspaceDir: string): string[]; /** Return whether init must migrate a preceding generated-export convention. */ export declare function hasHistoricalGeneratedExportNames(workspaceDir: string): boolean; /** Transactionally migrate every known historical generated export in a workspace. */ export declare function migrateHistoricalGeneratedExportNames(workspaceDir: string): Promise; export declare function collectWorkspaceScriptFilePaths(directory: string): Promise; /** * Resolve the actual generated export used by an existing scaffold module. * New modules use the first candidate. Older managed modules are upgraded to * that lint-compatible identifier when a registry is regenerated. * * @param filePath Generated TypeScript module to inspect. * @param candidates Preferred identifier followed by compatible historical identifiers. * @returns The first candidate exported by the module, or the preferred candidate * when the file does not exist yet. */ export declare function resolveAndMigrateGeneratedExportedConstName(filePath: string, candidates: readonly [string, ...string[]], workspaceDir?: string): Promise;