import { BinaryReader, BinaryWriter } from "../../../../binary"; import { DeepPartial } from "../../../../helpers"; /** * 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 injective.crypto.v1beta1.ethsecp256k1 * @see proto type: injective.crypto.v1beta1.ethsecp256k1.PubKey */ export interface PubKey { key: Uint8Array; } export interface PubKeyProtoMsg { typeUrl: "/injective.crypto.v1beta1.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 injective.crypto.v1beta1.ethsecp256k1 * @see proto type: injective.crypto.v1beta1.ethsecp256k1.PubKey */ export interface PubKeyAmino { key: string; } export interface PubKeyAminoMsg { type: "injective/PubKeyEthSecp256k1"; value: PubKeyAmino; } /** * PrivKey defines a type alias for an ecdsa.PrivateKey that implements * Tendermint's PrivateKey interface. * @name PrivKey * @package injective.crypto.v1beta1.ethsecp256k1 * @see proto type: injective.crypto.v1beta1.ethsecp256k1.PrivKey */ export interface PrivKey { key: Uint8Array; } export interface PrivKeyProtoMsg { typeUrl: "/injective.crypto.v1beta1.ethsecp256k1.PrivKey"; value: Uint8Array; } /** * PrivKey defines a type alias for an ecdsa.PrivateKey that implements * Tendermint's PrivateKey interface. * @name PrivKeyAmino * @package injective.crypto.v1beta1.ethsecp256k1 * @see proto type: injective.crypto.v1beta1.ethsecp256k1.PrivKey */ export interface PrivKeyAmino { key: string; } export interface PrivKeyAminoMsg { type: "injective/PrivKeyEthSecp256k1"; 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 injective.crypto.v1beta1.ethsecp256k1 * @see proto type: injective.crypto.v1beta1.ethsecp256k1.PubKey */ export declare const PubKey: { typeUrl: string; aminoType: 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; toAminoMsg(message: PubKey): PubKeyAminoMsg; 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 injective.crypto.v1beta1.ethsecp256k1 * @see proto type: injective.crypto.v1beta1.ethsecp256k1.PrivKey */ export declare const PrivKey: { typeUrl: string; aminoType: 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; toAminoMsg(message: PrivKey): PrivKeyAminoMsg; fromProtoMsg(message: PrivKeyProtoMsg): PrivKey; toProto(message: PrivKey): Uint8Array; toProtoMsg(message: PrivKey): PrivKeyProtoMsg; registerTypeUrl(): void; };