import { Node, ImportDeclaration, ExportAllDeclaration, ExportNamedDeclaration, CallExpression, Import, StringLiteral, NodePathVisitor } from './types'; export declare type ImportStatement = ImportStatement.Declaration | ImportStatement.Expression; export declare namespace ImportStatement { interface NamedReexport extends ExportNamedDeclaration { readonly source: StringLiteral; } export type Declaration = ImportDeclaration | ExportAllDeclaration | NamedReexport; export interface Expression extends CallExpression { callee: Import; arguments: StringLiteral[]; } export {}; } export interface TraversalOptions { readonly declaration: NodePathVisitor; readonly expression: NodePathVisitor; } export declare function traverseImportStatements(node: Node, options: TraversalOptions): void; export default traverseImportStatements;