UNPKG

ai-ctrf

Version:

Generate AI summaries of test results using a wide range of AI models like OpenAI, Anthropic, Gemini, Mistral, Grok, DeepSeek, Azure, Perplexity, and OpenRouter

8 lines (7 loc) 378 B
import { type CtrfReport } from '../types/ctrf'; export declare function validateCtrfFile(filePath: string): CtrfReport | null; export declare function ansiRegex({ onlyFirst }?: { onlyFirst?: boolean | undefined; }): RegExp; export declare function stripAnsi(message: string): string; export declare function generateFailedTestPrompt(test: any, report: CtrfReport): string;