import type { CoverageMatrix } from "../types.js"; import type { ExternalAnalyzerResults } from "audit-tools/shared"; /** * AN UNMEASURED SIZE IS NOT A SIZE OF ZERO (DAT-3c07c004). * * `lineCount` is whatever the line index yielded for `path`, which is one of * THREE things, not two: a genuine count, the {@link UNMEASURED_LINE_COUNT} * sentinel `buildLineIndex` emits when the file could not be read, or `undefined` * for a key the index never carried. The last two are resolved through the ONE * shared predicate `isUnmeasuredLineCount` — never a local `?? 0`, which is * exactly the coercion that made a file nobody could measure indistinguishable * from a file genuinely containing nothing, and got it excluded from all audit * coverage without a trace. * * When the size is unmeasured only the SIZE-BASED rules are withheld; the * PATH-BASED rule still applies, because a `.gitignore` is trivial on the * strength of its name whether or not anyone managed to count its lines. */ export declare function isTrivialAuditPath(path: string, lineCount: number | undefined, hasExternalSignal?: boolean): boolean; export declare function autoCompleteTrivialCoverage(coverage: CoverageMatrix, lineIndex: Record, externalAnalyzerResults?: ExternalAnalyzerResults[]): string[]; //# sourceMappingURL=trivialAudit.d.ts.map