import { GenericSchema, GenericSchemaAsync } from "valibot"; import { ValidationAdapter, IfInstalled, Infer } from "./types.mjs"; import "@sinclair/typebox"; import "yup"; import "zod"; declare class ValibotAdapter 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[] | undefined; }[]; readonly data?: undefined; } >; } declare function valibotAdapter(): ValibotAdapter; export { valibotAdapter };