import { BinaryReader, BinaryWriter } from '../../../binary.js'; import { type JsonSafe } from '../../../json-safe.js'; /** * PubKey defines a secp256k1 public key * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte * if the y-coordinate is the lexicographically largest of the two associated with * the x-coordinate. Otherwise the first byte is a 0x03. * This prefix is followed with the x-coordinate. */ export interface PubKey { key: Uint8Array; } export interface PubKeyProtoMsg { typeUrl: '/cosmos.crypto.secp256k1.PubKey'; value: Uint8Array; } /** * PubKey defines a secp256k1 public key * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte * if the y-coordinate is the lexicographically largest of the two associated with * the x-coordinate. Otherwise the first byte is a 0x03. * This prefix is followed with the x-coordinate. */ export interface PubKeySDKType { key: Uint8Array; } /** PrivKey defines a secp256k1 private key. */ export interface PrivKey { key: Uint8Array; } export interface PrivKeyProtoMsg { typeUrl: '/cosmos.crypto.secp256k1.PrivKey'; value: Uint8Array; } /** PrivKey defines a secp256k1 private key. */ export interface PrivKeySDKType { key: Uint8Array; } export declare const PubKey: { typeUrl: "/cosmos.crypto.secp256k1.PubKey"; encode(message: PubKey, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PubKey; fromJSON(object: any): PubKey; toJSON(message: PubKey): JsonSafe; fromPartial(object: Partial): PubKey; fromProtoMsg(message: PubKeyProtoMsg): PubKey; toProto(message: PubKey): Uint8Array; toProtoMsg(message: PubKey): PubKeyProtoMsg; }; export declare const PrivKey: { typeUrl: "/cosmos.crypto.secp256k1.PrivKey"; encode(message: PrivKey, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PrivKey; fromJSON(object: any): PrivKey; toJSON(message: PrivKey): JsonSafe; fromPartial(object: Partial): PrivKey; fromProtoMsg(message: PrivKeyProtoMsg): PrivKey; toProto(message: PrivKey): Uint8Array; toProtoMsg(message: PrivKey): PrivKeyProtoMsg; }; //# sourceMappingURL=keys.d.ts.map