import { RingExponent, BuildRingProof } from './claim-pgas.js'; import 'polkadot-api'; /** The shape of verifiablejs/nodejs's `one_shot` export. */ type OneShotFn = (ringExponent: RingExponent, memberEntropy: Uint8Array, members: Uint8Array, context: Uint8Array, msg: Uint8Array) => { proof: Uint8Array; alias: Uint8Array; }; /** * Build a `BuildRingProof` callback backed by `one_shot`, pinning the * argument order — ringExponent, memberEntropy, members, context, msg — in * one place so it cannot drift independently between call sites. * * `memberEntropy` is closed over here rather than threaded through * `BuildRingProofInput` because it is derived once per signer/mnemonic * up front, while `BuildRingProofInput` carries only what the caller * (claimPgas / reproveAliasToAccount) determines per-call. */ declare function makeOneShotBuildRingProof(oneShot: OneShotFn, memberEntropy: Uint8Array): BuildRingProof; export { type OneShotFn, makeOneShotBuildRingProof };