import { Serializer } from "../serializer.js"; import { InternalConstant, SerializedType } from "../constants.js"; import { IEnvironment } from "../serdestrium.js"; export declare class JSONSerializer extends Serializer { whitespace?: { indentation: string; } | undefined; private base64Encodings; private indentString; constructor(environment?: IEnvironment, whitespace?: { indentation: string; } | undefined); protected emitInstance(instanceData: SerializedType): Generator; protected emitObject(object: any): Generator; private emitKVPair; protected emitArray(array: any): Generator; protected emitBinary(blob: ArrayBuffer): Generator; protected emitInternalConstant(constant: InternalConstant): string; protected emitReference(identifier: any): string; protected emitNumber(number: number): string; protected emitString(string: string): string; protected emitBoolean(bool: boolean): string; protected emitSymbol(symbol: symbol): string; private escapedString; private increaseIndentation; private decreaseIndentation; }