import ISerializer, { SerializerInput, SerializerOutput } from "../ISerializer"; type TInput = [SerializerInput, SerializerInput]; type TOutput = [SerializerOutput, SerializerOutput]; export default class PairSerializer extends ISerializer< TInput, TOutput > { readonly firstSerializer: TFirstSerializer; readonly secondSerializer: TSecondSerializer; constructor(firstSerializer: TFirstSerializer, secondSerializer: TSecondSerializer); toRaw(value: TInput): TOutput; appendToByteBuffer(value: TInput, bytebuffer: ByteBuffer): void; readFromBuffer(buffer: Buffer, offset?: number): { res: TOutput, newOffset: number }; }