import { IAdapter } from "../IAdapter";
import { ISerializer } from "./ISerializer";
export declare class JsonAdapter implements IAdapter<any> {
    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<string>, humanReadable?: boolean, serializers?: readonly ISerializer[]);
    readAsync(): Promise<any>;
    writeAsync(data: any): Promise<void>;
}
