export interface ZodIssue { path: (string | number)[]; message: string; code?: string; } export interface ZodError { issues: ZodIssue[]; } export interface ZodSchema { _output: T; _input: T; _def?: any; parseAsync(data: unknown): Promise; parse(data: unknown): T; } export interface YupValidationError { path?: string; message: string; inner: YupValidationError[]; } export interface YupObjectSchema { validate(value: any, options?: any): Promise; validateAt(path: string, value: any, options?: any): Promise; }