import { z } from "zod"; import { ValidationAdapter, IfInstalled, Infer } from "./types.mjs"; import "@sinclair/typebox"; import "valibot"; import "yup"; declare class ZodAdapter implements ValidationAdapter { validate>( schema: S, data: unknown ): Promise< | { readonly success: true; readonly data: Infer; readonly issues?: undefined; } | { readonly success: false; readonly issues: { message: string; path: (string | number)[]; }[]; readonly data?: undefined; } >; } declare function zodAdapter(): ZodAdapter; export { zodAdapter };