export interface BasicGeneratedFile { output: string; } export declare class GeneratedFile implements BasicGeneratedFile { scopeStack: Scope[]; indentWidth: number; indentLevel: number; startOfIndentLevel: boolean; output: string; pushScope(scope: Scope): void; popScope(): Scope | undefined; readonly scope: Scope; print(string?: string): void; printNewline(): void; printNewlineIfNeeded(): void; printOnNewline(string?: string): void; printIndent(): void; withIndent(closure: Function): void; withinBlock(closure: Function, open?: string, close?: string): void; } export default class CodeGenerator { context: Context; generatedFiles: { [fileName: string]: GeneratedFile; }; currentFile: GeneratedFile; constructor(context: Context); withinFile(fileName: string, closure: Function): void; readonly output: string; pushScope(scope: Scope): void; popScope(): void; readonly scope: Scope; print(string?: string): void; printNewline(): void; printNewlineIfNeeded(): void; printOnNewline(string?: string): void; printIndent(): void; withIndent(closure: Function): void; withinBlock(closure: Function, open?: string, close?: string): void; } //# sourceMappingURL=CodeGenerator.d.ts.map