export type JsonSchema = Record; interface ZodDef { typeName?: string; type?: unknown; element?: unknown; innerType?: unknown; shape?: unknown; values?: unknown; entries?: unknown; options?: unknown; value?: unknown; items?: unknown; valueType?: unknown; keyType?: unknown; schema?: unknown; left?: ZodSchemaLike; right?: ZodSchemaLike; in?: ZodSchemaLike; out?: ZodSchemaLike; description?: string; checks?: readonly ZodCheckLike[]; defaultValue?: unknown; minLength?: unknown; maxLength?: unknown; exactLength?: unknown; } interface ZodCheckDef { check?: string; type?: string; value?: number; minimum?: number; maximum?: number; length?: number; inclusive?: boolean; pattern?: RegExp; format?: string; } interface ZodCheckLike extends ZodCheckDef { kind?: string; regex?: RegExp; _zod?: { def?: ZodCheckDef; }; def?: ZodCheckDef; isInt?: boolean; } export interface ZodSchemaLike { _def?: ZodDef; def?: ZodDef; description?: string; enum?: Record; format?: string | null; isInt?: boolean; isOptional?: () => boolean; options?: readonly unknown[]; shape?: Record; } /** * Return the schema used for introspection after peeling Zod wrappers that do * not change the underlying field vocabulary. */ export declare function unwrapZodSchema(schema: unknown): unknown; export declare function getZodObjectShape(schema: unknown): Record | undefined; export declare function getZodEnumValues(schema: unknown): readonly unknown[]; export declare function getZodDefaultValue(schema: unknown): unknown; export declare function isOptionalZodSchema(schema: unknown): boolean; export declare function zodToJsonSchema(schema: unknown): JsonSchema; export {}; //# sourceMappingURL=schema.d.ts.map