1 | import ts from 'typescript';
|
2 | export declare function getSourceFiles(program: ts.Program): readonly ts.SourceFile[];
|
3 | export declare function getSourceFile(program: ts.Program, fileName: string): ts.SourceFile | undefined;
|
4 | export declare function getSourceFileOrThrow(program: ts.Program, fileName: string): ts.SourceFile;
|
5 | export declare function isDeclarationFile(node: ts.SourceFile): boolean;
|
6 | export declare function getFilePath(node: ts.SourceFile): string;
|
7 | export declare function getText(node: ts.Node): string;
|
8 | export declare function getImportDeclarations(node: ts.SourceFile): readonly ts.ImportDeclaration[];
|
9 | export declare function getExportDeclarations(node: ts.SourceFile): readonly ts.ExportDeclaration[];
|
10 | export declare function getExportAssignments(node: ts.SourceFile): readonly ts.ExportAssignment[];
|
11 | export declare function createSourceMapRange(node: ts.Node): ts.SourceMapRange;
|
12 | export declare function getExportedSymbols(typeChecker: ts.TypeChecker, node: ts.SourceFile): readonly ts.Symbol[];
|