import { IAdapter } from "../IAdapter"; import { ISerializer } from "./ISerializer"; export declare class JsonAdapter implements IAdapter { private readonly adapter; private readonly humanReadable; private readonly serializerMap; /** * @param adapter The underlying string adapter for reading/writing raw data * @param humanReadable Whether to pretty-print the JSON output * @param serializers Custom serializers for complex types (default: Date, Set, Map, RegExp, BigInt). */ constructor(adapter: IAdapter, humanReadable?: boolean, serializers?: readonly ISerializer[]); readAsync(): Promise; writeAsync(data: any): Promise; }