/** * Enforces the value to be a number or a string representation of a number. * Converts string numbers to actual numbers and validates against NaN and Infinity. * * @example * vine.number() * vine.number({ strict: true }) */ export declare const numberRule: (options: { strict?: boolean; }) => import("../../types.ts").Validation<{ strict?: boolean; }>; /** * Enforces a minimum value on a number field. * The number must be greater than or equal to the specified minimum. * * @example * vine.number().min(0) * vine.number().min(18) */ export declare const minRule: (options: { min: number; }) => import("../../types.ts").Validation<{ min: number; }>; /** * Enforces a maximum value on a number field. * The number must be less than or equal to the specified maximum. * * @example * vine.number().max(100) * vine.number().max(65) */ export declare const maxRule: (options: { max: number; }) => import("../../types.ts").Validation<{ max: number; }>; /** * Enforces the value to be within a range of minimum and maximum values. * The number must be between min and max (inclusive). * * @example * vine.number().range([1, 100]) * vine.number().range([18, 65]) */ export declare const rangeRule: (options: { min: number; max: number; }) => import("../../types.ts").Validation<{ min: number; max: number; }>; /** * Enforces the value to be a positive number (greater than 0). * Zero is considered neutral and will fail this validation. * * @example * vine.number().positive() */ export declare const positiveRule: (options?: undefined) => import("../../types.ts").Validation; /** * Enforces the value to be a negative number (less than 0). * Zero is considered neutral and will fail this validation. * * @example * vine.number().negative() */ export declare const negativeRule: (options?: undefined) => import("../../types.ts").Validation; /** * Enforces the value to be a non-negative number (greater than or equal to 0). * Accepts zero and all positive numbers. * * @example * vine.number().nonNegative() */ export declare const nonNegativeRule: (options?: undefined) => import("../../types.ts").Validation; /** * Enforces the value to be a non-positive number (less than or equal to 0). * Accepts zero and all negative numbers. * * @example * vine.number().nonPositive() */ export declare const nonPositiveRule: (options?: undefined) => import("../../types.ts").Validation; /** * Enforces the value to have a fixed number or range of decimal places. * Validates the precision of the decimal number. * * @example * vine.number().decimal(2) * vine.number().decimal([0, 2]) */ export declare const decimalRule: (options: { range: [number, number?]; }) => import("../../types.ts").Validation<{ range: [number, number?]; }>; /** * Enforces the value to be an integer without decimal places. * The number must be a whole number. * * @example * vine.number().withoutDecimals() */ export declare const withoutDecimalsRule: (options?: undefined) => import("../../types.ts").Validation; /** * Enforces the value to be one of the specified allowed values. * The number must match one of the values in the provided list. * * @example * vine.number().in([1, 2, 3, 5, 8, 13]) * vine.number().in([10, 20, 30]) */ export declare const inRule: (options: { values: number[]; }) => import("../../types.ts").Validation<{ values: number[]; }>;