import { Hex } from 'viem'; import { WotsBlockPublicKey } from '../../clients/vault-provider/types'; /** * Result of {@link expandPerVaultSecrets}. */ export interface PerVaultExpansionResult { perVaultWotsKeys: WotsBlockPublicKey[][]; /** Keccak256 of WOTS keys, ready as `depositorWotsPkHash` (0x-prefixed). */ wotsPkHashes: Hex[]; /** HTLC preimage hex per vault (no 0x prefix). */ htlcSecretHexes: string[]; /** SHA-256 of each HTLC preimage as 64-char hex (no 0x prefix). */ hashlocks: string[]; } /** * Derive per-vault WOTS keys + HTLC preimages from the wallet root. * * Takes ownership of `root`: zeros the buffer (and per-vault secret * buffers) before returning, regardless of how the caller exits. * * @param root 32-byte wallet-derived root from `deriveVaultRoot`. * @param vaultCount Number of vaults (= length of `amounts`). */ export declare function expandPerVaultSecrets(root: Uint8Array, vaultCount: number): Promise; //# sourceMappingURL=expandPerVaultSecrets.d.ts.map