import * as ts from 'typescript'; import { AbstractCompilationMessage } from './messages/AbstractCompilationMessage'; export declare class Context { static areErrorsHandled: boolean; static languageServiceMode: boolean; private static _cancellationToken; private static messages; private static _program; private static _factory; static ts: typeof ts; static get program(): ts.Program; static get factory(): ts.NodeFactory; static get typeChecker(): ts.TypeChecker; static isCancellationRequested(): boolean; static getAllMessages(): AbstractCompilationMessage[]; static get errors(): AbstractCompilationMessage[]; static assignProgram(program: ts.Program | null): void; static assignFactory(factory: ts.NodeFactory | null): void; static assignCancellationToken(token: () => boolean): void; static report(message: AbstractCompilationMessage): void; static clearMessages(): void; }