import { Schema, ShapeSerializer } from "@smithy/types";
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
import { JsonSettings } from "../JsonCodec";
export declare class ByteJsonShapeSerializer
  extends SerdeContextConfig
  implements ShapeSerializer<Uint8Array>
{
  readonly settings: JsonSettings;
  private json;
  private i;
  private rootSchema;
  constructor(settings: JsonSettings);
  write(schema: Schema, value: unknown): void;
  writeDiscriminatedDocument(schema: Schema, value: unknown): void;
  flush(): Uint8Array;
  private ensure;
  private writeAscii;
  private writeAsciiQuoted;
  private writeJsonString;
  private writeUnicodeEscape;
  private static readonly B64;
  private writeBase64;
  private writeValue;
  private writeStruct;
  private writeList;
  private writeMap;
  private writeTimestamp;
}
export declare class StringJsonShapeSerializer
  extends SerdeContextConfig
  implements ShapeSerializer<string>
{
  readonly settings: JsonSettings;
  private byteSerializer;
  constructor(settings: JsonSettings);
  write(schema: Schema, value: unknown): void;
  writeDiscriminatedDocument(schema: Schema, value: unknown): void;
  flush(): string;
}
