/** * Validates a set of named parameters against a list of constraint strings. * Throws if any parameter is undefined, null, or NaN, or if any constraint is violated. * * @param {Object} params Named parameters to validate. * @param {string[]} constraints Constraint strings, e.g. ['sigma > 0', 'n >= 1']. * @throws {Error} On missing parameters or violated constraints. */ export default function validateParams(params: any, constraints: string[]): void;