/** * Input fuzzer — generate test data for form fields. * * For each field type, produces a set of test values covering: * - Happy path (valid, normal input) * - Boundary (min/max length, min/max value) * - Edge cases (empty, very long, special chars, SQL injection probe, XSS probe) * - Type-invalid (wrong type for the field) * * This feeds ZeTa's test generator to automatically create form validation tests. * Values are safe probes (NOT actual exploits) — they test whether the app * properly rejects/accepts boundary inputs. */ import type { FormField } from './form-detector.js'; export type InputCase = { label: string; value: string; expectedValid: boolean; category: 'happy' | 'boundary' | 'edge' | 'invalid'; }; export declare function generateFieldCases(field: FormField): InputCase[]; export interface FuzzedForm { formIndex: number; purpose: string; fieldCases: Array<{ field: FormField; cases: InputCase[]; }>; } export declare function fuzzForm(form: import('./form-detector.js').DetectedForm): FuzzedForm;