export declare class CodeBuilder { private readonly indentStr; private parts; private currentIndent; private readonly indentStack; private atLineStart; constructor(indentStr?: string); private addPart; add(part: string): this; addIf(cond: boolean, part: string): this; space(): this; apply(callback: (code: CodeBuilder, node: T) => void, node: T): this; applyOpt(callback: (code: CodeBuilder, node: T) => void, node: undefined | T): this; newLine(): this; newLines(count: number): this; indent(): this; dedent(): this; indentCustom(len: number): this; lineLength(): number; trimNewlines(): this; toString(): string; }