import { dpValue, eqValue, gteValue, gtValue, isInteger, isNegative, isNumeric, isPositive, lteValue, ltValue } from '../../utils/numberValidates'; import { defineRule } from 'zan-hook-form'; import { email, eq, idCard, length, match, maxLength, minLength, phone, uRL } from '../../utils/stringValidates'; export declare const rules: { /** * 最小长度 */ minLength: typeof minLength; /** * 最大长度 */ maxLength: typeof maxLength; /** * 固定长度 */ length: typeof length; /** * 正则匹配 */ match: typeof match; /** * 邮箱验证 */ email: typeof email; /** * url验证 */ uRL: typeof uRL; /** * 等于(去除前后空格) */ eq: typeof eq; /** * 身份证号检验 */ idCard: typeof idCard; /** * 手机号验证 */ phone: typeof phone; /** * 是否是数字 */ isNumeric: typeof isNumeric; /** * 大于 */ gtValue: typeof gtValue; /** * 大于等于 */ gteValue: typeof gteValue; /** * 等于 */ eqValue: typeof eqValue; /** * 小于 */ ltValue: typeof ltValue; /** * 小于等于 */ lteValue: typeof lteValue; /** * 小数位 */ dpValue: typeof dpValue; /** * 整数 */ isInteger: typeof isInteger; /** * 负数 */ isNegative: typeof isNegative; /** * 正数 */ isPositive: typeof isPositive; }; export default defineRule;