/** * Test-support BIP-322 "simple" P2WPKH signer. * * Produces the consensus-encoded two-item witness `[DER sig ‖ 0x01, * compressed pubkey]` that a Native SegWit software wallet returns for * `signMessage(..., "bip322-simple")`. The virtual to_spend/to_sign * construction follows the `bip322` crate 0.0.10 (`util.rs:18-85`) — the * same reference the production verifier * (`tbv/core/clients/vault-provider/auth/bip322Verify.ts`) mirrors, and * the BIP-322 official vectors pin. * * Conscious call: `./testing` deliberately depends on the Bitcoin stack * (bitcoinjs-lib was already in this entry's graph via MockBitcoinWallet; * tiny-secp256k1-asmjs is new here) — out of scope for the CLAUDE.md §9 * optional-BTC split. * * Test-only: never feed real key material to this module. */ /** * Sign `messageBytes` as a BIP-322 "simple" P2WPKH proof with `privateKey` * and return the consensus-encoded two-item witness * (`0x02 ‖ len ‖ sig ‖ 0x21 ‖ pubkey`). */ export declare function signBip322P2wpkhWitness(messageBytes: Uint8Array, privateKey: Uint8Array): Uint8Array; //# sourceMappingURL=signBip322P2wpkhWitness.d.ts.map