UNPKG

537 BTypeScriptView Raw
1import ts from 'typescript';
2export declare function getImportClause(node: ts.ImportDeclaration): ts.ImportClause | undefined;
3export declare function getNamespaceImport(node: ts.ImportDeclaration): ts.NamespaceImport | undefined;
4export declare function getNamespaceImportIdentifier(node: ts.ImportDeclaration): ts.Identifier | undefined;
5export declare function getDefaultImport(node: ts.ImportDeclaration): ts.Identifier | undefined;
6export declare function getNamedImports(node: ts.ImportDeclaration): readonly ts.ImportSpecifier[];