/**
* The Standard Schema v1 interface (https://standardschema.dev), vendored as
* types + a tiny runtime helper so any compliant validator - zod, valibot,
* arktype, … - validates requests without coupling the framework to one lib.
* The spec is MIT-licensed and explicitly designed to be copied.
*/
export interface StandardSchemaV1 {
readonly "~standard": StandardSchemaProps;
}
export interface StandardSchemaProps {
readonly version: 1;
readonly vendor: string;
readonly validate: (value: unknown) => StandardResult