import { BinaryReader, BinaryWriter } from "../../../../../binary"; import { DeepPartial } from "../../../../../helpers"; /** * Pairs defines a repeated slice of Pair objects. * @name Pairs * @package cosmos.store.internal.kv.v1beta1 * @see proto type: cosmos.store.internal.kv.v1beta1.Pairs */ export interface Pairs { pairs: Pair[]; } export interface PairsProtoMsg { typeUrl: "/cosmos.store.internal.kv.v1beta1.Pairs"; value: Uint8Array; } /** * Pairs defines a repeated slice of Pair objects. * @name PairsAmino * @package cosmos.store.internal.kv.v1beta1 * @see proto type: cosmos.store.internal.kv.v1beta1.Pairs */ export interface PairsAmino { pairs: PairAmino[]; } export interface PairsAminoMsg { type: "cosmos-sdk/Pairs"; value: PairsAmino; } /** * Pair defines a key/value bytes tuple. * @name Pair * @package cosmos.store.internal.kv.v1beta1 * @see proto type: cosmos.store.internal.kv.v1beta1.Pair */ export interface Pair { key: Uint8Array; value: Uint8Array; } export interface PairProtoMsg { typeUrl: "/cosmos.store.internal.kv.v1beta1.Pair"; value: Uint8Array; } /** * Pair defines a key/value bytes tuple. * @name PairAmino * @package cosmos.store.internal.kv.v1beta1 * @see proto type: cosmos.store.internal.kv.v1beta1.Pair */ export interface PairAmino { key: string; value: string; } export interface PairAminoMsg { type: "cosmos-sdk/Pair"; value: PairAmino; } /** * Pairs defines a repeated slice of Pair objects. * @name Pairs * @package cosmos.store.internal.kv.v1beta1 * @see proto type: cosmos.store.internal.kv.v1beta1.Pairs */ export declare const Pairs: { typeUrl: string; aminoType: string; is(o: any): o is Pairs; isAmino(o: any): o is PairsAmino; encode(message: Pairs, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Pairs; fromPartial(object: DeepPartial): Pairs; fromAmino(object: PairsAmino): Pairs; toAmino(message: Pairs): PairsAmino; fromAminoMsg(object: PairsAminoMsg): Pairs; toAminoMsg(message: Pairs): PairsAminoMsg; fromProtoMsg(message: PairsProtoMsg): Pairs; toProto(message: Pairs): Uint8Array; toProtoMsg(message: Pairs): PairsProtoMsg; registerTypeUrl(): void; }; /** * Pair defines a key/value bytes tuple. * @name Pair * @package cosmos.store.internal.kv.v1beta1 * @see proto type: cosmos.store.internal.kv.v1beta1.Pair */ export declare const Pair: { typeUrl: string; aminoType: string; is(o: any): o is Pair; isAmino(o: any): o is PairAmino; encode(message: Pair, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Pair; fromPartial(object: DeepPartial): Pair; fromAmino(object: PairAmino): Pair; toAmino(message: Pair): PairAmino; fromAminoMsg(object: PairAminoMsg): Pair; toAminoMsg(message: Pair): PairAminoMsg; fromProtoMsg(message: PairProtoMsg): Pair; toProto(message: Pair): Uint8Array; toProtoMsg(message: Pair): PairProtoMsg; registerTypeUrl(): void; };