UNPKG

baldrick-broth

Version:
15 lines (14 loc) 561 B
import { z } from 'zod'; export declare const stringy: { customKey: z.ZodString; varValue: z.ZodString; title: z.ZodEffects<z.ZodString, string, string>; description: z.ZodString; motivation: z.ZodString; url: z.ZodString; path: z.ZodString; propPath: z.ZodString; promptMessage: z.ZodEffects<z.ZodString, string, string>; choice: z.ZodEffects<z.ZodString, string, string>; }; export declare const safeParseField: (name: 'title' | 'filename' | string, content: unknown) => string | z.SafeParseReturnType<string, string>;