import * as tt from 'typescript'; import TransformContext from './TransformContext'; export default class Scope { readonly source: tt.SourceFile; readonly context: TransformContext; readonly localTypes: Set; readonly exportedTypes: Set; readonly localEnums: Set; readonly exportedEnums: Set; constructor(source: tt.SourceFile, context: TransformContext); createError(msg: string, node: tt.TextRange): Error; addLocalTypeName(name: string): void; addExport(exported: string, local?: string): void; addEnum(name: string): void; }