/** * Bitfield flags describing the cryptographic operations an * {@link ECPairSigner} can perform. * * Combine with bitwise OR (`|`) and test with bitwise AND (`&`). * * @example * ```ts * const caps = signer.capabilities; * if (caps & SignerCapability.SchnorrSign) { * // Schnorr signing is available * } * ``` */ export declare const SignerCapability: { /** Can produce ECDSA signatures (requires a private key). */ readonly EcdsaSign: number; /** Can verify ECDSA signatures. */ readonly EcdsaVerify: number; /** Can produce BIP-340 Schnorr signatures (requires a private key and backend support). */ readonly SchnorrSign: number; /** Can verify BIP-340 Schnorr signatures (requires backend support). */ readonly SchnorrVerify: number; /** Can export the raw private key bytes. */ readonly PrivateKeyExport: number; /** Can derive a tweaked child key via Taproot-style tweaking. */ readonly PublicKeyTweak: number; /** Supports BIP-32 hierarchical deterministic derivation. */ readonly HdDerivation: number; }; /** * Union of all valid {@link SignerCapability} flag values. */ export type SignerCapability = (typeof SignerCapability)[keyof typeof SignerCapability]; //# sourceMappingURL=capability.d.ts.map