import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; import { BIP44Params, BIP44ParamsAmino, BIP44ParamsSDKType } from "../../hd/v1/hd"; import { BinaryReader, BinaryWriter } from "../../../../binary"; /** Record is used for representing a key in the keyring. */ export interface Record { /** name represents a name of Record */ name: string; /** pub_key represents a public key in any format */ pubKey?: Any | undefined; /** local stores the public information about a locally stored key */ local?: Record_Local | undefined; /** ledger stores the public information about a Ledger key */ ledger?: Record_Ledger | undefined; /** Multi does not store any information. */ multi?: Record_Multi | undefined; /** Offline does not store any information. */ offline?: Record_Offline | undefined; } export interface RecordProtoMsg { typeUrl: "/cosmos.crypto.keyring.v1.Record"; value: Uint8Array; } /** Record is used for representing a key in the keyring. */ export interface RecordAmino { /** name represents a name of Record */ name?: string; /** pub_key represents a public key in any format */ pub_key?: AnyAmino | undefined; /** local stores the public information about a locally stored key */ local?: Record_LocalAmino | undefined; /** ledger stores the public information about a Ledger key */ ledger?: Record_LedgerAmino | undefined; /** Multi does not store any information. */ multi?: Record_MultiAmino | undefined; /** Offline does not store any information. */ offline?: Record_OfflineAmino | undefined; } export interface RecordAminoMsg { type: "cosmos-sdk/Record"; value: RecordAmino; } /** Record is used for representing a key in the keyring. */ export interface RecordSDKType { name: string; pub_key?: AnySDKType | undefined; local?: Record_LocalSDKType | undefined; ledger?: Record_LedgerSDKType | undefined; multi?: Record_MultiSDKType | undefined; offline?: Record_OfflineSDKType | undefined; } /** * Item is a keyring item stored in a keyring backend. * Local item */ export interface Record_Local { privKey?: Any | undefined; privKeyType: string; } export interface Record_LocalProtoMsg { typeUrl: "/cosmos.crypto.keyring.v1.Local"; value: Uint8Array; } /** * Item is a keyring item stored in a keyring backend. * Local item */ export interface Record_LocalAmino { priv_key?: AnyAmino | undefined; priv_key_type?: string; } export interface Record_LocalAminoMsg { type: "cosmos-sdk/Local"; value: Record_LocalAmino; } /** * Item is a keyring item stored in a keyring backend. * Local item */ export interface Record_LocalSDKType { priv_key?: AnySDKType | undefined; priv_key_type: string; } /** Ledger item */ export interface Record_Ledger { path?: BIP44Params | undefined; } export interface Record_LedgerProtoMsg { typeUrl: "/cosmos.crypto.keyring.v1.Ledger"; value: Uint8Array; } /** Ledger item */ export interface Record_LedgerAmino { path?: BIP44ParamsAmino | undefined; } export interface Record_LedgerAminoMsg { type: "cosmos-sdk/Ledger"; value: Record_LedgerAmino; } /** Ledger item */ export interface Record_LedgerSDKType { path?: BIP44ParamsSDKType | undefined; } /** Multi item */ export interface Record_Multi { } export interface Record_MultiProtoMsg { typeUrl: "/cosmos.crypto.keyring.v1.Multi"; value: Uint8Array; } /** Multi item */ export interface Record_MultiAmino { } export interface Record_MultiAminoMsg { type: "cosmos-sdk/Multi"; value: Record_MultiAmino; } /** Multi item */ export interface Record_MultiSDKType { } /** Offline item */ export interface Record_Offline { } export interface Record_OfflineProtoMsg { typeUrl: "/cosmos.crypto.keyring.v1.Offline"; value: Uint8Array; } /** Offline item */ export interface Record_OfflineAmino { } export interface Record_OfflineAminoMsg { type: "cosmos-sdk/Offline"; value: Record_OfflineAmino; } /** Offline item */ export interface Record_OfflineSDKType { } export declare const Record: { typeUrl: string; aminoType: string; encode(message: Record, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Record; fromPartial(object: Partial): Record; fromAmino(object: RecordAmino): Record; toAmino(message: Record): RecordAmino; fromAminoMsg(object: RecordAminoMsg): Record; toAminoMsg(message: Record): RecordAminoMsg; fromProtoMsg(message: RecordProtoMsg): Record; toProto(message: Record): Uint8Array; toProtoMsg(message: Record): RecordProtoMsg; }; export declare const Record_Local: { typeUrl: string; aminoType: string; encode(message: Record_Local, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Record_Local; fromPartial(object: Partial): Record_Local; fromAmino(object: Record_LocalAmino): Record_Local; toAmino(message: Record_Local): Record_LocalAmino; fromAminoMsg(object: Record_LocalAminoMsg): Record_Local; toAminoMsg(message: Record_Local): Record_LocalAminoMsg; fromProtoMsg(message: Record_LocalProtoMsg): Record_Local; toProto(message: Record_Local): Uint8Array; toProtoMsg(message: Record_Local): Record_LocalProtoMsg; }; export declare const Record_Ledger: { typeUrl: string; aminoType: string; encode(message: Record_Ledger, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Record_Ledger; fromPartial(object: Partial): Record_Ledger; fromAmino(object: Record_LedgerAmino): Record_Ledger; toAmino(message: Record_Ledger): Record_LedgerAmino; fromAminoMsg(object: Record_LedgerAminoMsg): Record_Ledger; toAminoMsg(message: Record_Ledger): Record_LedgerAminoMsg; fromProtoMsg(message: Record_LedgerProtoMsg): Record_Ledger; toProto(message: Record_Ledger): Uint8Array; toProtoMsg(message: Record_Ledger): Record_LedgerProtoMsg; }; export declare const Record_Multi: { typeUrl: string; aminoType: string; encode(_: Record_Multi, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Record_Multi; fromPartial(_: Partial): Record_Multi; fromAmino(_: Record_MultiAmino): Record_Multi; toAmino(_: Record_Multi): Record_MultiAmino; fromAminoMsg(object: Record_MultiAminoMsg): Record_Multi; toAminoMsg(message: Record_Multi): Record_MultiAminoMsg; fromProtoMsg(message: Record_MultiProtoMsg): Record_Multi; toProto(message: Record_Multi): Uint8Array; toProtoMsg(message: Record_Multi): Record_MultiProtoMsg; }; export declare const Record_Offline: { typeUrl: string; aminoType: string; encode(_: Record_Offline, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Record_Offline; fromPartial(_: Partial): Record_Offline; fromAmino(_: Record_OfflineAmino): Record_Offline; toAmino(_: Record_Offline): Record_OfflineAmino; fromAminoMsg(object: Record_OfflineAminoMsg): Record_Offline; toAminoMsg(message: Record_Offline): Record_OfflineAminoMsg; fromProtoMsg(message: Record_OfflineProtoMsg): Record_Offline; toProto(message: Record_Offline): Uint8Array; toProtoMsg(message: Record_Offline): Record_OfflineProtoMsg; };