/** * Test runner for YAML checkers * Compatible with globstar test format (, ) */ import { YamlTestCase, TestResult, Analyzer } from '../analysis/types.js'; /** * Find YAML test cases in a directory */ export declare function findYamlTestFiles(testDir: string): Promise; /** * Find expected issue lines from a test file * Looks for and comments */ export declare function findExpectedLines(filePath: string): Promise; /** * Find no-error markers (lines where issues should NOT appear) */ export declare function findNoErrorLines(filePath: string): Promise; /** * Run tests for YAML checkers in a directory */ export declare function runYamlTests(testDir: string): Promise; /** * Run tests for Go-style (custom JS) analyzers */ export declare function runAnalyzerTests(testDir: string, analyzers: Analyzer[]): Promise<{ diff: string; log: string; passed: boolean; }>; /** * Format test results for output */ export declare function formatTestResults(result: TestResult): string; //# sourceMappingURL=runner.d.ts.map