import { Hex } from 'viem'; import { OnChainBtcPubkey } from './types'; /** * Validate a registry-returned `bytes32` as an x-only BTC pubkey and mint the * brand. Checks length, hex form, and secp256k1 curve membership. Returns * 64-char lowercase hex without the `0x` prefix. * * `label` identifies the read site in error messages (e.g. * `getOperationBtcKeyAtEpoch (vp=0x…, epoch=0)`), so a failure names which * participant and which getter produced it. * * A zero hash fails the curve check, so an unregistered operator or an epoch * with no bonded key surfaces as an error rather than a silent all-zero key. */ export declare function assertOnChainBtcPubkey(value: Hex, label: string): OnChainBtcPubkey; //# sourceMappingURL=onChainBtcPubkey.d.ts.map