UNPKG

354 BTypeScriptView Raw
1import { ReadPacket } from '../interfaces';
2import { Serializer } from '../interfaces/serializer.interface';
3import { NatsRecord } from '../record-builders';
4export declare class NatsRecordSerializer implements Serializer<ReadPacket, NatsRecord> {
5 private readonly jsonCodec;
6 constructor();
7 serialize(packet: ReadPacket | any): NatsRecord;
8}