import { IIndentedStringBuilder } from './_types'; /** * Class for building strings that will only concatenate them upon calling toString(). */ export default class IndentedStringBuilder implements IIndentedStringBuilder { #private; indentationString: string; /** * Create a new StringBuilder. * @param lines */ constructor(indentationLevel: number, ...lines: string[]); /** * Appends the value to the builder with a new line afterwards. * @param value */ appendLine(value: string): void; /** * Clears all values from the StringBuilder. */ clear(): void; /** adds an indent level */ indent(): void; /** Removes the current indent */ unindent(): void; /** * Returns a string representation of the StringBuilder. */ toString(): string; }