import { z } from 'zod'; import { SecureOmit } from '../../types/helpers'; export default class NumberLength { readonly ctx: z.RefinementCtx; intPart: string; decimalPart: string; path: string; constructor(value: number, ctx: z.RefinementCtx); addError(message: string): void; /** No es necesario si el mínimo es menor o igual a 1 */ int(message?: string): SecureOmit; min(min: number, message?: string): this; max(max: number, message?: string): this; length(len: number, message?: string): this; minDecimals(min: number, message?: string): this; maxDecimals(max: number, message?: string): this; decimalsLength(length: number, message?: string): this; }