import type { ConfigStore } from "./configStore.ts"; import type { ProjectTSConfig, TextEdit, TSConfig } from "./types.ts"; /** * Selects the tsconfig file that should be edited to add a `paths` entry * to preserve module resolution behavior after `baseUrl` removal. * * Selection rules (in order): * 1. The nearest config that already defines `paths` (store.getEffectivePaths(project)) * 2. The nearest config that defines the effective `baseUrl` (store.getEffectiveBaseUrlStack(project)[0]) * 3. The project's own tsconfig */ export declare function selectTsconfigForAddingPaths(project: ProjectTSConfig, store: ConfigStore): TSConfig; /** * Generates TextEdits to insert a wildcard `paths` mapping (`"*": ["./*"]`) into a tsconfig. */ export declare function getAddWildcardPathsEdits(tsconfig: TSConfig, store: ConfigStore): TextEdit[] | undefined; //# sourceMappingURL=getResolutionUsesBaseUrlFixes.d.ts.map