import { z } from 'zod'; import { Country } from '../../data/countries.table'; import { Currency } from '../../data/currencies.table'; import { Department } from '../../data/departments.table'; import { TaxpayerNotTaxpayer } from '../../data/taxpayerNotTaxpayer.table'; import dbService from '../../services/db.service'; import { SecureOmit } from '../../types/helpers'; type Int = { int?: string; }; type Min = { min?: string; }; type Max = { max?: string; }; type Lengths = { length?: string; }; declare class CommonValidators { private addFieldError; oneNumberOf(tableName: keyof SecureOmit, message?: string): z.ZodEffects; location(ctx: z.RefinementCtx, departmentId: Department | undefined, districtId: number | undefined, cityId: number | undefined): void; zeroPadToLength(maxLength: number, messages?: Int & Max): z.ZodEffects; isoDate(): z.ZodEffects; isoDateTime(): z.ZodEffects; taxpayer(): z.ZodEffects; ruc(messages?: Min & Max): z.ZodEffects; name(): z.ZodString; legalName(): z.ZodString; tradeName(): z.ZodString; tel(): z.ZodString; cel(): z.ZodString; email(): z.ZodString; identityDocDescription(): z.ZodString; identityDocNumber(): z.ZodString; currency(): z.ZodNativeEnum; currencyChange(): z.ZodEffects; country(): z.ZodNativeEnum; department(): z.ZodNativeEnum; district(): z.ZodEffects; city(): z.ZodEffects; address(): z.ZodString; houseNumber(): z.ZodEffects; gtinCode(messages?: Lengths): z.ZodEffects; cdc(): z.ZodString; motive(): z.ZodString; timbrado(): z.ZodEffects; serie(): z.ZodEffects; clientCode(): z.ZodString; } declare const _default: CommonValidators; export default _default;