import BigInteger from "bn.js"; import { ECPoint } from "./ec/ECPoint"; import { KeyProperties, KeyTypes } from "../../domain"; import { PublicKey, ExportableKey, StorableKey, VerifiableKey } from "../../domain/models/keyManagement"; /** * @ignore */ export declare class Secp256k1PublicKey extends PublicKey implements StorableKey, ExportableKey, VerifiableKey { readonly recoveryId: string; keySpecification: Map; size: number; raw: Uint8Array; type: KeyTypes; readonly to: { Buffer: () => Buffer; Hex: () => string; JWK: (base?: import("../../domain").JWK.Base) => import("../../domain").JWK; PEM: () => string; String: (encoding?: BufferEncoding) => string; }; static from: { Buffer: (value: Buffer) => Secp256k1PublicKey; Hex: (value: string) => Secp256k1PublicKey; PEM: (value: string) => Secp256k1PublicKey; String: (value: string, encoding?: BufferEncoding) => Secp256k1PublicKey; }; get isCompressed(): boolean; private get native(); constructor(nativeValue: Uint8Array); getEncoded(): Uint8Array; getEncodedCompressed(): Uint8Array; static isPointOnSecp256k1Curve(point: ECPoint): boolean; static secp256k1FromBytes(encoded: Uint8Array): Secp256k1PublicKey; static secp256k1FromByteCoordinates(x: Uint8Array, y: Uint8Array): Secp256k1PublicKey; static secp256k1FromBigIntegerCoordinates(x: BigInteger, y: BigInteger): Secp256k1PublicKey; verify(message: Buffer, signature: Buffer): boolean; }