import { BinaryExpression, ImportDeclaration, ImportSpecifier, Project, SourceFile, ts } from 'ts-morph'; export interface FileImportsResult { resolvedModule: ts.ResolvedModuleFull | undefined; imports: string[]; importFrom: string; } export declare function getFileImports(sourceFile: SourceFile, compilerOptions: ts.CompilerOptions, host: ts.ModuleResolutionHost): FileImportsResult[]; export declare function getBinaryExpressionDecorator(sourceFile: SourceFile, decoratorName: string): BinaryExpression | undefined; export declare const getNamedImportSpecifier: (name: string, importDeclaration: ImportDeclaration) => ImportSpecifier | undefined; export declare const hasNamedImport: (name: string, importDeclaration: ImportDeclaration) => boolean; export declare const getImportSpecifierForLocal: (sourceFile: SourceFile, name: string) => ImportSpecifier | undefined; export declare const isExternal: (project: Project, sourceFile: SourceFile, moduleSpecifier: string) => boolean; export declare const resolveImport: (project: Project, sourceFile: SourceFile, importSpecifier: ImportSpecifier) => { isExternal: boolean; importFile: string; }; export declare function removeTsExtension(moduleName: string): string;