/** * QA360 Generate Command * * AI-powered test generation using Ollama. * Generates tests from OpenAPI specs, HAR files, URLs, or code. * * Phase 4 - AI Test Generation */ import { Command } from 'commander'; /** * Create generate commands group */ export declare function createGenerateCommands(): Command; /** * Generate tests command handler */ export declare function generateCommand(source: string, options?: { type?: 'openapi' | 'har' | 'url' | 'code'; output?: string; framework?: 'playwright' | 'k6' | 'vitest' | 'jest'; optimize?: boolean; model?: string; format?: boolean; }): Promise; /** * Generate API tests from OpenAPI spec */ export declare function generateApiCommand(specPath: string, options?: { output?: string; model?: string; optimize?: boolean; }): Promise; /** * Generate UI tests from URL */ export declare function generateUiCommand(url: string, options?: { output?: string; model?: string; optimize?: boolean; }): Promise; /** * Generate performance tests */ export declare function generatePerfCommand(specPath: string, options?: { output?: string; model?: string; duration?: string; vus?: number; }): Promise; /** * Generate unit tests from code */ export declare function generateUnitCommand(filePath: string, options?: { language?: string; output?: string; model?: string; optimize?: boolean; }): Promise; /** * Build system prompt for test type */ export declare function buildSystemPrompt(type: string): string; /** * Check if generation is available */ export declare function checkCommand(): Promise;