//#region ../react-form/src/standard-schema/types.d.ts
/**
* Standard Schema V1 spec types.
*
* Vendored from https://standardschema.dev so the form engine can consume any
* Standard-Schema-compliant validator (`@warlock.js/seal`, `zod`, `valibot`,
* `arktype`, …) **without** taking a runtime dependency on any of them. We only
* duck-type on the `~standard` property at runtime.
*/
/** The Standard Schema interface. */
interface StandardSchemaV1 {
readonly "~standard": StandardSchemaV1.Props;
}
declare namespace StandardSchemaV1 {
/** The Standard Schema properties interface. */
interface Props {
/** The version number of the standard. */
readonly version: 1;
/** The vendor name of the schema library. */
readonly vendor: string;
/** Inferred types associated with the schema. */
readonly types?: Types | undefined;
/** Validates unknown input values. */
readonly validate: (value: unknown) => Result