/** * QA360 Universal Crawler Presets * * Presets for different types of web applications. * Each preset defines: * - Test scenarios specific to the platform type * - Common selectors to look for * - Default test data * - Navigation patterns */ export interface CrawlerPreset { /** Preset identifier */ id: string; /** Human-readable name */ name: string; /** Description */ description: string; /** Common selectors for this platform type (all optional) */ selectors?: { login?: { email?: string[]; password?: string[]; submit?: string[]; }; search?: { input?: string[]; submit?: string[]; results?: string[]; }; navigation?: { menu?: string[]; links?: string[]; }; actions?: { add?: string[]; remove?: string[]; edit?: string[]; save?: string[]; cancel?: string[]; }; content?: { title?: string[]; body?: string[]; author?: string[]; date?: string[]; }; pagination?: { next?: string[]; prev?: string[]; }; }; /** Default test data for this platform (all optional) */ testData?: { auth?: { email?: string; password?: string; username?: string; }; search?: string; form?: { title?: string; content?: string; comment?: string; quantity?: number; amount?: number; message?: string; recipient?: string; coin?: string; }; payment?: { cardNumber?: string; expiry?: string; cvv?: string; }; }; /** Common scenarios for this platform (optional) */ scenarios?: string[]; /** Pages that should be tested (optional) */ criticalPaths?: string[][]; } /** * Universal crawler presets */ export declare const PRESETS: Record; /** * Get preset by ID */ export declare function getPreset(id: string): CrawlerPreset | undefined; /** * Get all presets */ export declare function getAllPresets(): CrawlerPreset[]; /** * Detect preset from URL (heuristic) */ export declare function detectPresetFromUrl(url: string): CrawlerPreset; /** * Get preset list for CLI */ export declare function getPresetList(): string;