import { NgComponentMetadata, NgModuleInfo } from './types'; import { ts } from './typescript'; export interface ImportDeclarationStructure { moduleSpecifier?: string; namedImports?: { name: string; }[]; } export declare class NgSourceFile { private sourceFile; get origin(): ts.SourceFile; get length(): number; constructor(sourceFile: ts.SourceFile); constructor(filePath: string, sourceText: string); getFullText(): string; getExportedComponents(): NgComponentMetadata[]; getExpectExportedComponent(keywords?: string): NgComponentMetadata; getExportedNgModule(): NgModuleInfo; getDefaultExports(): TResult; getDefaultExportNode(): ts.Node; getImportDeclarations(): ts.ImportDeclaration[]; } export declare function createNgSourceFile(sourceFile: ts.SourceFile): NgSourceFile; export declare function createNgSourceFile(filePath: string, sourceText?: string): NgSourceFile; //# sourceMappingURL=ng-source-file.d.ts.map