import type { BranchCoverage } from "./BranchCoverage.js"; import type { FunctionCoverage } from "./FunctionCoverage.js"; import type { LineCoverage } from "./LineCoverage.js"; /** * Provides the coverage data of a source file. */ export declare class SourceFile { /** * The branch coverage. */ branches: BranchCoverage | null; /** * The function coverage. */ functions: FunctionCoverage | null; /** * The line coverage. */ lines: LineCoverage | null; /** * The path to the source file. */ path: string; /** * Creates a new source file. * @param path The path to the source file. * @param options An object providing values to initialize this instance. */ constructor(path: string, options?: SourceFileOptions); /** * Returns a string representation of this object. * @returns The string representation of this object. */ toString(): string; } /** * Defines the options of a {@link SourceFile} instance. */ export type SourceFileOptions = Partial>; //# sourceMappingURL=SourceFile.d.ts.map