import { TSESTree } from '@typescript-eslint/utils'; import type { CompilerOptions, ModuleResolutionCache } from 'typescript'; export type MessageIds = 'missingTypeScript' | 'preferSourceImport' | 'preferSourceImports'; export type Options = [ { fixStyle?: 'auto' | 'preserve-alias' | 'relative'; ignore?: string[]; paths?: Record; tsconfig?: boolean | string; }? ]; export type ReExportTarget = { importedName: string; resolvedFilePath: string; sourceSpecifier: string; isTypeOnly: boolean; fromExportAll: boolean; }; export type NamedImportSpecifier = TSESTree.ImportSpecifier & { imported: TSESTree.Identifier; local: TSESTree.Identifier; }; export type SupportedImportSpecifier = NamedImportSpecifier | TSESTree.ImportDefaultSpecifier; export type MatchedSpecifier = { preferredSourceSpecifier: string | null; specifier: SupportedImportSpecifier; reExportTarget: ReExportTarget; }; export type BarrelAnalysis = { explicitReExports: Map; exportAllReExports: Map; }; export type AnalysisCaches = { exportedBindings: Map>; parsedModules: Map; }; export type TsconfigInfo = { compilerOptions: CompilerOptions; configFilePath: string; moduleResolutionCache: ModuleResolutionCache; }; export type ResolutionCaches = { barrelAnalyses: Map; importResolutions: Map; tsconfigInfo: Map; tsconfigPaths: Map; }; export type ManualAliasMapping = { pattern: string; target: string; }; //# sourceMappingURL=types.d.ts.map