/** * Stale-spend recovery window — chain-derived, isolated in its own module. * * Kept OUT of `chain-policy.ts` on purpose: chain-policy is imported by every * validator, so adding a field there rebundles all nine actions (a full CID * rotation). Only the two recovery actions (`stale-spend-recovery-validator`, * `btc-utxo-invalidator`) need this value, so it lives here and rotates only * their CIDs (remediation plan §4 "minimise CID churn"). * * Minimum age (seconds) an AuthorizedSpend must reach before a stale-spend * recovery attestation / invalidator may be signed in-TEE (remediation P2/#10). * mainnet = 3600 (== on-chain BTCSpendAuthorizer.MAX_ATTESTATION_AGE buffer); * regtest chains (hardhat/sepolia) use a short window so e2e reservation-cleanup * after a successful withdrawal isn't blocked for an hour. Derived from the * validated `chain`, NEVER a jsParam — a caller knob here would reopen the * finding-#2 class of caller-controlled-timing bug, and because the recovery * attestation is EIP-712-bound to this chain a lied `chain` yields a signature * useless on the real one. */ export declare function getStaleSpendWindowSeconds(chain: string): number; //# sourceMappingURL=stale-spend-window.d.ts.map