import fs from 'fs'; import { z } from 'zod'; export declare function findFilesRecursive(dir: string, condition: (entry: fs.Dirent) => boolean): string[]; /** * Checks if a schema is a ZodObject (created with z.object()) * This also detects schemas that started as z.object() but were transformed * with methods like .partial(), .strict(), etc. */ export declare function isZodObject(schema: unknown): schema is z.ZodObject; /** * Normalizes a schema that can be either a Zod schema or a plain object with Zod schema properties. * If it's a plain object, wraps it in z.object(). Otherwise, returns it as-is. * * @param schema - The schema to normalize * @param onDeprecated - Optional callback when a deprecated z.object() is detected * @param location - Optional location string for deprecation warnings */ export declare function normalizeObjectSchema(schema: z.ZodTypeAny | { [key: string]: z.ZodTypeAny; }, onDeprecated?: (field: 'params' | 'query', location?: string) => void): z.ZodTypeAny; //# sourceMappingURL=utils.d.ts.map