/** * Generated by the protoc-gen-ts. DO NOT EDIT! * compiler version: 3.21.12 * source: common/rwset.proto * git: https://github.com/thesayyn/protoc-gen-ts */ import * as pb_1 from "google-protobuf"; export declare namespace common { class KeyVersion extends pb_1.Message { #private; constructor(data?: any[] | { ref_tx_id?: string; ref_offset?: number; }); get ref_tx_id(): string; set ref_tx_id(value: string); get ref_offset(): number; set ref_offset(value: number); static fromObject(data: { ref_tx_id?: string; ref_offset?: number; }): KeyVersion; toObject(): { ref_tx_id?: string; ref_offset?: number; }; serialize(): Uint8Array; serialize(w: pb_1.BinaryWriter): void; static deserialize(bytes: Uint8Array | pb_1.BinaryReader): KeyVersion; serializeBinary(): Uint8Array; static deserializeBinary(bytes: Uint8Array): KeyVersion; } class TxRead extends pb_1.Message { #private; constructor(data?: any[] | { key?: Uint8Array; value?: Uint8Array; contract_name?: string; version?: KeyVersion; }); get key(): Uint8Array; set key(value: Uint8Array); get value(): Uint8Array; set value(value: Uint8Array); get contract_name(): string; set contract_name(value: string); get version(): KeyVersion; set version(value: KeyVersion); get has_version(): boolean; static fromObject(data: { key?: Uint8Array; value?: Uint8Array; contract_name?: string; version?: ReturnType; }): TxRead; toObject(): { key?: Uint8Array; value?: Uint8Array; contract_name?: string; version?: ReturnType; }; serialize(): Uint8Array; serialize(w: pb_1.BinaryWriter): void; static deserialize(bytes: Uint8Array | pb_1.BinaryReader): TxRead; serializeBinary(): Uint8Array; static deserializeBinary(bytes: Uint8Array): TxRead; } class TxWrite extends pb_1.Message { #private; constructor(data?: any[] | { key?: Uint8Array; value?: Uint8Array; contract_name?: string; }); get key(): Uint8Array; set key(value: Uint8Array); get value(): Uint8Array; set value(value: Uint8Array); get contract_name(): string; set contract_name(value: string); static fromObject(data: { key?: Uint8Array; value?: Uint8Array; contract_name?: string; }): TxWrite; toObject(): { key?: Uint8Array; value?: Uint8Array; contract_name?: string; }; serialize(): Uint8Array; serialize(w: pb_1.BinaryWriter): void; static deserialize(bytes: Uint8Array | pb_1.BinaryReader): TxWrite; serializeBinary(): Uint8Array; static deserializeBinary(bytes: Uint8Array): TxWrite; } class TxRWSet extends pb_1.Message { #private; constructor(data?: any[] | { tx_id?: string; tx_reads?: TxRead[]; tx_writes?: TxWrite[]; }); get tx_id(): string; set tx_id(value: string); get tx_reads(): TxRead[]; set tx_reads(value: TxRead[]); get tx_writes(): TxWrite[]; set tx_writes(value: TxWrite[]); static fromObject(data: { tx_id?: string; tx_reads?: ReturnType[]; tx_writes?: ReturnType[]; }): TxRWSet; toObject(): { tx_id?: string; tx_reads?: ReturnType[]; tx_writes?: ReturnType[]; }; serialize(): Uint8Array; serialize(w: pb_1.BinaryWriter): void; static deserialize(bytes: Uint8Array | pb_1.BinaryReader): TxRWSet; serializeBinary(): Uint8Array; static deserializeBinary(bytes: Uint8Array): TxRWSet; } }