import WebinyError from "@webiny/error"; import type { ZodError } from "zod"; interface OutputError { code: string; data: Record | null; message: string; } export interface OutputErrors { [key: string]: OutputError; } export interface ValidationIssue { field: string; code: string; message: string; } export declare const createZodError: (error: ZodError) => WebinyError<{ invalidFields: OutputErrors; }>; export declare const parseZodError: (error: ZodError) => ValidationIssue[]; export {};