UNPKG

@nucypher/taco

Version:

### [`nucypher/taco-web`](../../README.md)

15 lines (14 loc) 774 B
import { Primitive, z } from 'zod'; export declare const plainStringSchema: z.ZodEffects<z.ZodString, string, string>; export declare const UserAddressSchema: z.ZodLiteral<":userAddress">; export declare const baseConditionSchema: z.ZodObject<{ conditionType: z.ZodString; }, "strip", z.ZodTypeAny, { conditionType: string; }, { conditionType: string; }>; declare function createUnionSchema<T extends readonly Primitive[]>(values: T): z.ZodNever | z.ZodLiteral<Primitive> | z.ZodUnion<[z.ZodLiteral<Primitive>, z.ZodLiteral<Primitive>, ...z.ZodLiteral<Primitive>[]]>; export default createUnionSchema; export declare const jsonPathSchema: z.ZodEffects<z.ZodString, string, string>; export declare const httpsURLSchema: z.ZodEffects<z.ZodString, string, string>;