import './assert_dev_env.js';
/**
 * Schema-driven value generation helpers for testing.
 *
 * Walks Zod schemas to generate valid values for route params, request bodies,
 * and URL paths. Used by adversarial input, adversarial 404, and round-trip
 * validation test suites.
 *
 * @module
 */
import { z } from 'zod';
import { type ZodFieldInfo } from '@fuzdev/fuz_util/zod.js';
/**
 * Detect format constraints on a field by converting to JSON Schema.
 * Returns format string (e.g. 'uuid', 'email') or null.
 */
export declare const detect_format: (field_schema: z.ZodType) => string | null;
/** Generate a valid-ish value for a field based on its base type. */
export declare const generate_valid_value: (field: ZodFieldInfo, field_schema: z.ZodType) => unknown;
/**
 * Resolve a route path with valid-ish param values so params validation passes.
 * Used when testing input on routes that also have params.
 */
export declare const resolve_valid_path: (path: string, params_schema?: z.ZodObject) => string;
/**
 * Generate a valid request body for a route's input schema.
 *
 * @returns a generated body that passes `safeParse`, or `undefined` for null /
 *   non-object schemas
 * @throws Error if the generated body fails `input_schema.safeParse` — catches
 *   broken `generate_valid_value` logic early with a descriptive Zod-issues
 *   summary instead of a confusing 400 in downstream tests.
 */
export declare const generate_valid_body: (input_schema: z.ZodType) => Record<string, unknown> | undefined;
//# sourceMappingURL=schema_generators.d.ts.map