export declare type SGFunc = (sg: StringGen) => StringGen; export declare class StringGen { private readonly lf; private readonly indent; private readonly strings; private readonly eol; constructor(lf?: string, indent?: number, strings?: string[], eol?: boolean); pushIndent(amount?: number): StringGen; popIndent(amount?: number): StringGen; appendLine(line?: string): StringGen; append(text: string): StringGen; braces(func: SGFunc): StringGen; bracesSemicolon(func: SGFunc): StringGen; bracesComma(func: SGFunc): StringGen; toString(): string; private bracesImpl; private appendLineFeed; private appendIndent; }