import { z } from 'zod'; import { Path } from '../Path'; /** ZodValidator */ export default class ZodValidator> { readonly ctx: z.RefinementCtx; readonly object: T; constructor(ctx: z.RefinementCtx, object: T); private getPathString; private getPath; private completeMessage; validate(fieldNameOrPath: keyof T | Path, errorCondition: boolean, message: string): void; undesiredField(fieldNameOrPath: keyof T | Path, customMessage?: string): void; requiredField(fieldNameOrPath: keyof T | Path, customMessage?: string): void; }