import type { ValidatorDriver } from '../types.ts'; /** * Generic Standard Schema driver. Handles any validator that implements * the `~standard` interface (zod ≥3.24, valibot, arktype, custom user * Standard-Schema-conformant shapes — and yup, when no more-specific * driver is registered). * * Most popular libs strip unknown fields by default in their Standard * Schema validate (zod, valibot, arktype). Yup is the outlier — see * `YupDriver.ts` for the strip-preserving fast path. * * `toJsonSchema` is vendor-generic: Standard Schema itself carries no shape, so * conversion delegates to each lib's native exporter — a `.toJsonSchema()` * method on the schema (arktype, …), else zod's `z.toJSONSchema` (lazy-imported * so zod stays an optional peer). Vendors with no introspection return null and * the caller (OpenAPI generator) degrades to a placeholder. */ export declare const standardSchemaDriver: ValidatorDriver;