import type { JWK as BaseJWK } from 'jose'; import { Wallet } from 'ethers'; export type JWK = BaseJWK & { kty: "EC" | "OKP"; alg?: string; kid: string; crv: "P-256" | "secp256k1" | "Ed25519"; d: string; x: string; y: string; use?: string; key_ops?: string[]; }; export type CreateJwkFromWalletOptions = { kid?: string; crv?: JWK["crv"]; /** * @deprecated use `crv` */ curve?: JWK["crv"]; kty?: JWK["kty"]; }; export declare function getPublicKeyFromPrivateKeyCurveP256(privateKeyHex: string): string; export declare const createJWKFromWallet: (wallet: Wallet, { kid: _kid, crv, curve: deprecatedCrv, ...options }?: CreateJwkFromWalletOptions) => Promise; export declare const createJWKFromPrivateKey: (privateKey0?: string, options?: CreateJwkFromWalletOptions) => Promise; export declare const createJWK: (_kid?: string, { crv, kty, ...opts }?: Omit) => Promise; export declare const getPrivateKeyFromJWK: (jwk: JWK) => string;