import { Context } from "../imports/Context"; export declare class StreamingJSONBuilder { close(): void; constructor(cx: Context, args: any[], ctorObj: Function, inNewExpr: boolean); disablePrettyPrint(): StreamingJSONBuilder; enablePrettyPrint(): StreamingJSONBuilder; endArray(): StreamingJSONBuilder; endObject(): StreamingJSONBuilder; getAttachmentId(): string; getJSONString(): string; startArray(): StreamingJSONBuilder; startArrayField(fieldName: string): StreamingJSONBuilder; startObject(): StreamingJSONBuilder; writeBoolean(value: boolean): StreamingJSONBuilder; writeBooleanField(fieldName: string, value: boolean): StreamingJSONBuilder; writeFieldName(value: string): StreamingJSONBuilder; writeNull(): StreamingJSONBuilder; writeNullField(fieldName: string): StreamingJSONBuilder; writeNumberField( fieldName: string, encodedValue: string ): StreamingJSONBuilder; writeRaw(value: string): StreamingJSONBuilder; writeString(value: string): StreamingJSONBuilder; writeStringField(fieldName: string, value: string): StreamingJSONBuilder; }