import { AnalysisCaches, BarrelAnalysis, ManualAliasMapping, Options, ReExportTarget, ResolutionCaches, TsconfigInfo } from './types'; import type typescriptModule from 'typescript'; type TypeScriptModule = typeof typescriptModule; export declare function createResolutionCaches(sharedTsconfigCache?: Map, sharedTsconfigPathCache?: Map): ResolutionCaches; export declare function createSharedResolutionCaches(): ResolutionCaches; export declare function setTypeScriptModuleLoaderForTests(loader: (() => TypeScriptModule | null) | null): void; export declare function getTypeScriptModule(): TypeScriptModule | null; export declare function hasTypeScriptModule(): boolean; export declare function getTsconfigPath(options: Options[0] | undefined, importerFilename: string, cwd?: string, tsconfigPathCache?: Map): string | null; export declare function getTsconfigInfo(options: Options[0] | undefined, importerFilename: string, tsconfigCache: Map, cwd?: string, tsconfigPathCache?: Map): TsconfigInfo | null; export declare function resolveWithManualPaths(options: Options[0] | undefined, importerFilename: string, specifier: string, cwd?: string): string | null; export declare function getManualAliasMappings(options: Options[0] | undefined): Array; export declare function resolveWithTsconfig(options: Options[0] | undefined, importerFilename: string, specifier: string, tsconfigCache: Map, cwd?: string, tsconfigPathCache?: Map): string | null; export declare function resolveImport(options: Options[0] | undefined, resolutionCaches: ResolutionCaches, importerFilename: string, specifier: string, cwd?: string): string | null; export declare function reverseResolveManualAlias(options: Options[0] | undefined, resolvedFilePath: string, cwd?: string): string | null; export declare function reverseResolveTsconfigAlias(options: Options[0] | undefined, importerFilename: string, resolvedFilePath: string, tsconfigCache: Map, cwd?: string, tsconfigPathCache?: Map): string | null; export declare function getPreferredSourceSpecifier(options: Options[0] | undefined, importerFilename: string, originalImportSpecifier: string, reExportTarget: ReExportTarget, tsconfigCache: Map, cwd?: string, tsconfigPathCache?: Map): string | null; export declare function getBarrelAnalysis(options: Options[0] | undefined, barrelFilePath: string, barrelExportCache: Map, resolutionCaches: ResolutionCaches, analysisCaches: AnalysisCaches, cwd?: string): BarrelAnalysis | null; export {}; //# sourceMappingURL=resolution.d.ts.map