import { BinaryReader, BinaryWriter } from "../../../../binary.js"; import { DeepPartial } from "../../../../helpers.js"; //#region src/ethermint/crypto/v1/ethsecp256k1/keys.d.ts /** * PubKey defines a type alias for an ecdsa.PublicKey that implements * Tendermint's PubKey interface. It represents the 33-byte compressed public * key format. * @name PubKey * @package ethermint.crypto.v1.ethsecp256k1 * @see proto type: ethermint.crypto.v1.ethsecp256k1.PubKey */ interface PubKey { /** * key is the public key in byte form */ key: Uint8Array; } interface PubKeyProtoMsg { typeUrl: "/ethermint.crypto.v1.ethsecp256k1.PubKey"; value: Uint8Array; } /** * PubKey defines a type alias for an ecdsa.PublicKey that implements * Tendermint's PubKey interface. It represents the 33-byte compressed public * key format. * @name PubKeyAmino * @package ethermint.crypto.v1.ethsecp256k1 * @see proto type: ethermint.crypto.v1.ethsecp256k1.PubKey */ interface PubKeyAmino { /** * key is the public key in byte form */ key: string; } interface PubKeyAminoMsg { type: "/ethermint.crypto.v1.ethsecp256k1.PubKey"; value: PubKeyAmino; } /** * PrivKey defines a type alias for an ecdsa.PrivateKey that implements * Tendermint's PrivateKey interface. * @name PrivKey * @package ethermint.crypto.v1.ethsecp256k1 * @see proto type: ethermint.crypto.v1.ethsecp256k1.PrivKey */ interface PrivKey { /** * key is the private key in byte form */ key: Uint8Array; } interface PrivKeyProtoMsg { typeUrl: "/ethermint.crypto.v1.ethsecp256k1.PrivKey"; value: Uint8Array; } /** * PrivKey defines a type alias for an ecdsa.PrivateKey that implements * Tendermint's PrivateKey interface. * @name PrivKeyAmino * @package ethermint.crypto.v1.ethsecp256k1 * @see proto type: ethermint.crypto.v1.ethsecp256k1.PrivKey */ interface PrivKeyAmino { /** * key is the private key in byte form */ key: string; } interface PrivKeyAminoMsg { type: "/ethermint.crypto.v1.ethsecp256k1.PrivKey"; value: PrivKeyAmino; } /** * PubKey defines a type alias for an ecdsa.PublicKey that implements * Tendermint's PubKey interface. It represents the 33-byte compressed public * key format. * @name PubKey * @package ethermint.crypto.v1.ethsecp256k1 * @see proto type: ethermint.crypto.v1.ethsecp256k1.PubKey */ declare const PubKey: { typeUrl: string; is(o: any): o is PubKey; isAmino(o: any): o is PubKeyAmino; encode(message: PubKey, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PubKey; fromPartial(object: DeepPartial): PubKey; fromAmino(object: PubKeyAmino): PubKey; toAmino(message: PubKey): PubKeyAmino; fromAminoMsg(object: PubKeyAminoMsg): PubKey; fromProtoMsg(message: PubKeyProtoMsg): PubKey; toProto(message: PubKey): Uint8Array; toProtoMsg(message: PubKey): PubKeyProtoMsg; registerTypeUrl(): void; }; /** * PrivKey defines a type alias for an ecdsa.PrivateKey that implements * Tendermint's PrivateKey interface. * @name PrivKey * @package ethermint.crypto.v1.ethsecp256k1 * @see proto type: ethermint.crypto.v1.ethsecp256k1.PrivKey */ declare const PrivKey: { typeUrl: string; is(o: any): o is PrivKey; isAmino(o: any): o is PrivKeyAmino; encode(message: PrivKey, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PrivKey; fromPartial(object: DeepPartial): PrivKey; fromAmino(object: PrivKeyAmino): PrivKey; toAmino(message: PrivKey): PrivKeyAmino; fromAminoMsg(object: PrivKeyAminoMsg): PrivKey; fromProtoMsg(message: PrivKeyProtoMsg): PrivKey; toProto(message: PrivKey): Uint8Array; toProtoMsg(message: PrivKey): PrivKeyProtoMsg; registerTypeUrl(): void; }; //#endregion export { PrivKey, PrivKeyAmino, PrivKeyAminoMsg, PrivKeyProtoMsg, PubKey, PubKeyAmino, PubKeyAminoMsg, PubKeyProtoMsg };