declare function _exports(context: import('eslint').Rule.RuleContext, visitor: ImportVisitor): { ImportDeclaration: (node: ConsideredNode) => any; ExportAllDeclaration: (node: ConsideredNode) => any; ExportNamedDeclaration: (node: ConsideredNode) => any; ImportExpression: (node: ConsideredNode) => any; CallExpression: (node: ConsideredNode) => any; } | undefined; export = _exports; export type LocalImport = { type: 'local'; kind: 'value' | 'type'; node: import('estree').Node; path: string; }; export type ImportDirective = { type: 'directive'; kind: 'value' | 'type'; node: import('estree').Node; path: string; }; export type InternalImport = { type: 'internal'; kind: 'value' | 'type'; node: import('estree').Node; path: string; package: import('./getPackages').ExtendedPackage; packageName: string; }; export type ExternalImport = { type: 'external'; kind: 'value' | 'type'; node: import('estree').Node; path: string; packageName: string; }; export type BuiltinImport = { type: 'builtin'; kind: 'value' | 'type'; node: import('estree').Literal; path: string; packageName: string; }; export type ImportVisitor = (node: ConsideredNode, import: ImportDirective | LocalImport | InternalImport | ExternalImport | BuiltinImport) => any; export type ConsideredNode = import('estree').ImportDeclaration | import('estree').ExportAllDeclaration | import('estree').ExportNamedDeclaration | import('estree').ImportExpression | import('estree').SimpleCallExpression;