import { SourceFile } from "./SourceFile.js"; /** * Represents a trace file, that is a coverage report. */ export declare class Report { /** * The source file list. */ sourceFiles: SourceFile[]; /** * The test name. */ testName: string; /** * Creates a new report. * @param testName The test name. * @param sourceFiles The source file list. */ constructor(testName: string, sourceFiles?: SourceFile[]); /** * Parses the specified coverage data in LCOV format. * @param coverage The LCOV coverage data. * @returns The resulting coverage report. * @throws `SyntaxError` if a parsing error occurred. */ static parse(coverage: string): Report; /** * Parses the specified coverage data in LCOV format. * @param coverage The LCOV coverage data. * @returns The resulting coverage report, or `null` if a parsing error occurred. */ static tryParse(coverage: string): Report | null; /** * Returns a string representation of this object. * @returns The string representation of this object. */ toString(): string; } //# sourceMappingURL=Report.d.ts.map