/** * Parser for Jest-lua verbose output (`verbose=true, ci=true`). * * Handles two failure modes: * * 1. **Jest assertion failures** — `●` blocks: * ``` * ● ObservableList > add and remove > should track count * * expect(received).toEqual(expected) * * Expected: 3 * Received: 2 * * at ServerScriptService.observablecollection.Shared.ObservableList.spec:45 * ``` * * 2. **Runtime errors** — `Stack Begin`/`Stack End` blocks: * ``` * Error: attempt to index nil with "Connect" * Stack Begin * Script 'ServerScriptService.maid.Shared.Maid.spec', Line 23 * Stack End * ``` * * The parser is intentionally lenient — it extracts what it can, skips what * it can't, and never crashes on unexpected input. */ import { type Diagnostic } from '@quenty/cli-output-helpers/reporting'; import type { SourcemapResolver } from '../../sourcemap/index.js'; /** * Parse Jest-lua verbose output into `Diagnostic[]`. * * @param raw - Raw test output (may include ANSI codes) * @param options.packageName - Package name for fallback path resolution */ export declare function parseJestLuaOutput(raw: string, options: { packageName: string; sourcemapResolver?: SourcemapResolver; }): Diagnostic[]; //# sourceMappingURL=jest-lua-parser.d.ts.map