export declare const LogicFunctions: { /** * Determine whether each item of the parameters is true. * @param args * @returns boolean * @eg AND(3>2, a>5) */ AND: (...args: any) => boolean; /** * Return false. * @returns {Boolean} false * @eg FALSE() */ FALSE: () => boolean; /** * Incoming an expression and two values, * return parameter 1 when the expression is true, * and return parameter 2 when the expression is false. * * @param logic Expressions to be judged * @param params1 Value returned when the expression is true * @param params2 Value returned when the expression is false * @returns params1 or params2 * @eg IF(a>b, 1, 2) */ IF: (logic: T0, params1: T1, params2: T2) => T1 | T2; /** * Returns a Boolean value opposite to the specified expression * @param a * @returns {Boolean} true or false * @eg NOT(30>40) => true */ NOT: (a: number | string | boolean | undefined) => boolean; /** * Return true if any of the passed in parameters is true, otherwise return false * @param args * @returns {Boolean} true or false * @eg OR(2>1, 1>2) => true */ OR: (...args: any) => boolean; /** * Return true. * @returns {Boolean} true * @eg TRUE() */ TRUE: () => boolean; /** * Returns the XOR value of all parameters. * @param args * @returns {Boolean} true or false * @eg XOR(a>90,b>90) */ XOR: (...args: any) => boolean; };