import { z } from 'zod'; import type { ZodTypeAny } from 'zod'; /** * @internal */ export declare const defaultZodValue: (value: any) => any; /** * Converts any Zod type into an array of strings. * * @public * @experimental */ export declare const stringsFromZodAnyType: (x: ZodTypeAny) => string[]; /** * Converts a Zod union into an array of strings. * * @public * @experimental */ export declare const arrayFromZodUnion: >(schema: S) => { error: Error; value?: undefined; } | { value: string[]; error?: undefined; }; /** * Converts a Zod schema into an array of objects. * * @public * @experimental */ export declare const arrayFromZodSchema: (schema: S) => { error: Error; value?: undefined; } | { value: { key: string; default: any; description: string; }[]; error?: undefined; }; /** * @internal */ export declare const stringify: (x: any) => string; /** * Creates a markdown table from a Zod schema. * * @param schema - The Zod schema to convert. * * @see [Zod discussions #1953 - Retrieve default values from schema](https://github.com/colinhacks/zod/discussions/1953) * * @public * @experimental */ export declare const markdownTableFromZodSchema: (schema: S) => { error: Error; value?: undefined; } | { value: string; error?: undefined; }; //# sourceMappingURL=lib.d.ts.map