/** * LCOV parser class implementation. * Provides line-by-line parsing of LCOV format coverage data, maintaining state * and accumulating results into a complete coverage report. * * @module LcovParser * @see {@link https://github.com/linux-test-project/lcov/|LCOV Format Documentation} */ import type { FileReport } from "./interfaces.js"; /** * Parser for LCOV format coverage data * @class */ export declare class LcovParser { #private; /** * Get the complete array of parsed file reports * @returns Array of file coverage reports */ getFullReport(): FileReport[]; /** * Create a new blank file report structure * @returns Empty file report with initialized coverage metrics */ getBlankFileReport(): FileReport; /** * Parse a single line of LCOV data and update internal state * @param line - Raw line from LCOV file * * Supported LCOV commands: * - TN: Test name * - SF: Source file * - FN: Function name * - FNDA: Function data * - FNF: Functions found * - FNH: Functions hit * - BRDA: Branch data * - BRF: Branches found * - BRH: Branches hit * - DA: Line data * - LF: Lines found * - LH: Lines hit */ parseLine(line: string): void; } //# sourceMappingURL=LcovParser.class.d.ts.map