export declare class StringBuffer { private buffer; private indentLevel; private indentBy; private lineSeparator; constructor(indentBy?: string, lineSeparator?: string); /** * Executes a callback the indent level increased by one level */ withIndent(callback: (buffer: StringBuffer) => void): void; /** * Adds a new line to the buffer * @param text the text to add */ pushLine(text: string): void; /** * Increases the indent level */ indent(): void; /** * Decreases the indent level */ unindent(): void; /** * Create the final string from the buffer * @returns the final string of each line joined by a new line */ toString(): string; /** * Get the current buffer contents * * @returns the string array of buffer contents */ getBuffer(): string[]; } //# sourceMappingURL=StringBuffer.d.ts.map