import ts from "typescript"; export type ImportIdentifier = { name: string; original?: string; }; /** * Extracts the list of import identifiers from an import clause * @param node an ImportDeclaration node * @returns an array of all identifiers found in statement */ export declare function getImportIdentifiers(node: ts.ImportDeclaration): ImportIdentifier[]; export declare function getSingleImportIdentierForNode(node: ts.ImportDeclaration, identifier: string): ImportIdentifier | undefined; /** * Creates an import statement from the given arguments * @param identifiers array of types to import * @param path module path * @returns an ImportDeclaration node that corresponds to `import { ...identifiers } from "path"` */ export declare function createImportNode(identifiers: ImportIdentifier[], path: string): ts.ImportDeclaration;