import { PegInConfiguration, TBVProtocolParams, VersionedOffchainParams } from './types'; /** * Validate an `offchainParamsVersion` value sourced from a contract read. * `Number()` on a malformed payload yields `NaN` or a non-integer; both * silently break consumers that loop `1..version` or use the value as a * map key. Used by reader entry points that surface the version to JS. */ export declare function assertValidOffchainParamsVersion(version: number): void; /** * Validate offchain params consistency and bounds. * @throws Error on invalid values to prevent constructing invalid Bitcoin scripts. */ export declare function validateOffchainParams(params: VersionedOffchainParams): void; /** * Validate TBV protocol params returned from the contract. * @throws Error on invalid amounts or out-of-range bounded fields. */ export declare function validateTBVProtocolParams(params: TBVProtocolParams): void; /** * Validate the full peg-in configuration after assembly. * Checks both TBV params and offchain params consistency, and the * top-level `offchainParamsVersion` (which originates from a separate * multicall result and so must be range-checked alongside the params it * names). */ export declare function validatePegInConfiguration(config: PegInConfiguration): void; //# sourceMappingURL=protocol-params-validation.d.ts.map