import * as t from '@sinclair/typebox'; import * as v from 'valibot'; import * as c from './common'; type TFromAny = Result; type TFromArray, c.BaseError>> = Result; type TFromBigInt> = Result; type TFromBoolean> = Result; type TFromDate> = Result; type TFromFunction = (v.FunctionSchema); type TFromInteger> = Result; type TFromIntersect = (Types extends [infer Left extends t.TSchema, ...infer Right extends t.TSchema[]] ? TFromIntersect]> : v.IntersectSchema); type TFromLiteral> = Result; type TFromObject; }, c.BaseError>> = Result; type TFromPromise<_Type extends t.TSchema, Result = v.PromiseSchema> = Result; type TFromRegExp> = Result; type TFromRecord = (TFromType extends infer MappedKey extends c.BaseRecordKey ? v.RecordSchema, c.BaseError> : v.RecordSchema, TFromType, c.BaseError>); type TFromNever> = Result; type TFromNull> = Result; type TFromNumber> = Result; type TFromString> = Result; type TFromSymbol> = Result; type TFromTuple> = (v.TupleSchema); type TFromUndefined> = Result; type TFromUnion, Result = v.UnionSchema> = Result; type TFromUnknown = Result; type TFromVoid> = Result; type TFromTypes = Types extends [infer Left extends t.TSchema, ...infer Right extends t.TSchema[]] ? TFromTypes]> : Result; type TFromType = (Type extends t.TAny ? TFromAny : Type extends t.TArray ? TFromArray : Type extends t.TBigInt ? TFromBigInt : Type extends t.TBoolean ? TFromBoolean : Type extends t.TDate ? TFromDate : Type extends t.TFunction ? TFromFunction : Type extends t.TInteger ? TFromInteger : Type extends t.TIntersect ? TFromIntersect : Type extends t.TLiteral ? TFromLiteral : Type extends t.TNull ? TFromNull : Type extends t.TNever ? TFromNever : Type extends t.TNumber ? TFromNumber : Type extends t.TObject ? TFromObject : Type extends t.TPromise ? TFromPromise : Type extends t.TRecord ? TFromRecord : Type extends t.TRegExp ? TFromRegExp : Type extends t.TString ? TFromString : Type extends t.TSymbol ? TFromSymbol : Type extends t.TTuple ? TFromTuple : Type extends t.TUndefined ? TFromUndefined : Type extends t.TUnion ? TFromUnion : Type extends t.TUnknown ? TFromUnknown : Type extends t.TVoid ? TFromVoid : v.NeverSchema), IsReadonly extends boolean = Type extends t.TReadonly ? true : false, IsOptional extends boolean = Type extends t.TOptional ? true : false, Result extends v.BaseSchema = ([ IsReadonly, IsOptional ] extends [true, true] ? v.OptionalSchema : [ IsReadonly, IsOptional ] extends [false, true] ? v.OptionalSchema : [ IsReadonly, IsOptional ] extends [true, false] ? Mapped : Mapped)> = Result; export type TValibotFromTypeBox> = Result; export declare function ValibotFromTypeBox(type: Type): TValibotFromTypeBox; export {};