import { ZodType } from "zod"; /** Number of test samples to generate for each schema validation. */ export declare const SAMPLE_SIZE = 25; /** Default seed for repeatable test generation. */ export declare const DEFAULT_SEED = 12345; /** Result of a fuzz test comparison. */ export interface FuzzTestResult { /** Whether all tests passed. */ passed: boolean; /** Number of successful matches. */ successCount: number; /** Total number of tests run. */ totalTests: number; /** Array of mismatches found. */ mismatches: Array<{ sample: unknown; jsonSchemaValid: boolean; zodValid: boolean; jsonSchemaErrors?: string[]; zodError?: string; }>; } /** * Validates that a Zod schema matches a JSON schema by ensuring both schemas * validate the same fuzz-tested outputs generated from the JSON schema. * * @param zodSchema - The Zod schema to test * @param jsonSchemaId - The JSON schema ID (e.g., "uuid.yaml", "Address.yaml") * @param seed - Optional seed for repeatable test generation. Defaults to DEFAULT_SEED. * @returns The result of the fuzz test comparison */ export declare function checkZodMatchesJsonSchema(zodSchema: ZodType, jsonSchemaId: string, seed?: number): Promise; //# sourceMappingURL=fuzz-test.d.ts.map