import { Interfaces } from "@uns/ark-crypto"; import ByteBuffer from "bytebuffer"; import { ICertifiedDemand, INftDemandCertificationPayload, INftDemandPayload } from "../interfaces"; interface ICertifiedTransactionPayloadSerializable { serializePayload(payload: any): ByteBuffer; deserializePayload(buf: ByteBuffer): void; } export declare abstract class CertifiedNftTransaction implements ICertifiedTransactionPayloadSerializable { static serializeCertificationPayload(payload: INftDemandCertificationPayload): ByteBuffer; static serializeDemandPayload(demand: ICertifiedDemand): ByteBuffer; abstract data: Interfaces.ITransactionData; abstract serializePayload(payload: any): ByteBuffer; abstract deserializePayload(buf: ByteBuffer): void; serialize(): ByteBuffer; deserialize(buf: ByteBuffer): void; protected deserializeDemand(buf: ByteBuffer): void; protected deserializeCertification(buf: ByteBuffer): void; private getSignatureLength; } export declare const unsCertifiedProperties: { recipientId: { $ref: string; }; amount: { bignumber: { minimum: number; }; }; asset: { required: string[]; properties: { certification: { type: string; required: string[]; properties: { payload: { type: string; required: string[]; }; signature: { $ref: string; }; }; }; demand: { type: string; required: string[]; properties: { payload: { type: string; required: string[]; }; signature: { $ref: string; }; }; }; }; }; }; export {};