import { Validator } from './compile/validator'; import * as s from '@sinclair/typebox/syntax'; import * as t from '@sinclair/typebox'; import * as v from 'valibot'; import * as z from 'zod'; type BaseSchema = v.BaseSchema>; /** Statically infers a type */ export type Static = (Type extends string ? s.TSyntax<{}, Type> : Type extends Validator ? t.Static : Type extends t.TSchema ? t.Static : Type extends BaseSchema ? v.InferInput : Type extends z.ZodTypeAny ? z.infer : never); export {};