import { TSESLint, TSESTree } from '@typescript-eslint/utils'; import { createAnalysisCaches, collectAllExportedBindings, collectBarrelAnalysis, collectExportedBindings, getReExportKey, getReExportMeta, parseBarrelFile, parseExportedBindings, parseModule, resolveReExportTarget } from './prefer-source-imports/analysis'; import { buildAutofix, getMergeableImportDeclaration, isTypeOnlyImport, serializeImportBinding, serializeImportBindings } from './prefer-source-imports/autofix'; import { applyAliasTarget, buildAliasSpecifier, isRelativePath, matchesAliasPattern, normalizeModulePath, resolveModuleFile, toRelativeImportSpecifier } from './prefer-source-imports/path-utils'; import { createResolutionCaches, createSharedResolutionCaches, getBarrelAnalysis, getManualAliasMappings, getPreferredSourceSpecifier, getTypeScriptModule, hasTypeScriptModule, getTsconfigInfo, getTsconfigPath, resolveImport, resolveWithManualPaths, resolveWithTsconfig, reverseResolveManualAlias, reverseResolveTsconfigAlias, setTypeScriptModuleLoaderForTests } from './prefer-source-imports/resolution'; import { MessageIds, NamedImportSpecifier, Options, SupportedImportSpecifier } from './prefer-source-imports/types'; declare function isNamedImportSpecifier(specifier: TSESTree.ImportClause): specifier is NamedImportSpecifier; declare function isSupportedImportSpecifier(specifier: TSESTree.ImportClause): specifier is SupportedImportSpecifier; declare function shouldReportMissingTypeScript(_filename: string, options: Options[0] | undefined): boolean; declare const preferSourceImports: TSESLint.RuleModule; export declare const __private__: { applyAliasTarget: typeof applyAliasTarget; buildAliasSpecifier: typeof buildAliasSpecifier; buildAutofix: typeof buildAutofix; collectAllExportedBindings: typeof collectAllExportedBindings; collectBarrelAnalysis: typeof collectBarrelAnalysis; collectExportedBindings: typeof collectExportedBindings; createAnalysisCaches: typeof createAnalysisCaches; createResolutionCaches: typeof createResolutionCaches; createSharedResolutionCaches: typeof createSharedResolutionCaches; getBarrelAnalysis: typeof getBarrelAnalysis; getManualAliasMappings: typeof getManualAliasMappings; getTypeScriptModule: typeof getTypeScriptModule; hasTypeScriptModule: typeof hasTypeScriptModule; getMergeableImportDeclaration: typeof getMergeableImportDeclaration; getPreferredSourceSpecifier: typeof getPreferredSourceSpecifier; getReExportKey: typeof getReExportKey; getReExportMeta: typeof getReExportMeta; getTsconfigInfo: typeof getTsconfigInfo; getTsconfigPath: typeof getTsconfigPath; isNamedImportSpecifier: typeof isNamedImportSpecifier; isSupportedImportSpecifier: typeof isSupportedImportSpecifier; isRelativePath: typeof isRelativePath; isTypeOnlyImport: typeof isTypeOnlyImport; matchesAliasPattern: typeof matchesAliasPattern; normalizeModulePath: typeof normalizeModulePath; parseBarrelFile: typeof parseBarrelFile; parseExportedBindings: typeof parseExportedBindings; parseModule: typeof parseModule; resolveImport: typeof resolveImport; resolveModuleFile: typeof resolveModuleFile; resolveReExportTarget: typeof resolveReExportTarget; resolveWithManualPaths: typeof resolveWithManualPaths; resolveWithTsconfig: typeof resolveWithTsconfig; reverseResolveManualAlias: typeof reverseResolveManualAlias; reverseResolveTsconfigAlias: typeof reverseResolveTsconfigAlias; setTypeScriptModuleLoaderForTests: typeof setTypeScriptModuleLoaderForTests; shouldReportMissingTypeScript: typeof shouldReportMissingTypeScript; serializeImportBinding: typeof serializeImportBinding; serializeImportBindings: typeof serializeImportBindings; toRelativeImportSpecifier: typeof toRelativeImportSpecifier; }; export default preferSourceImports; //# sourceMappingURL=prefer-source-imports.d.ts.map