/**
 * Convert a stored `BaselineEntry` into the `LocatedIdentity` shape
 * the git-aware matcher consumes. Pure function — no I/O.
 *
 * The matcher's location-pair pass keys off `(file, rule, line)` and
 * its content-hash pass keys off `(rule, contentHash)`. Both passes
 * pair on the rule string verbatim, so the converter MUST normalize
 * the rule across tool boundaries — otherwise a finding reported by
 * tool A in run 1 and tool B in run 2 would silently fail to pair
 * (the identity hashes would agree via the canonical-rule mapping,
 * but the matcher's earlier passes would have already missed them).
 *
 * For hygiene findings the marker acts as the rule discriminator —
 * the identity hash partitions occurrences by marker text, so the
 * location-pair pass must too. The canonical-rule registry doesn't
 * apply to hygiene markers; the marker IS the canonical name.
 *
 * Kinds without file/line locators (dep-vuln, duplication,
 * coverage-gap, test-gap, test-file-degradation, god-file,
 * stale-file, large-file, secret-hmac) fall through to the matcher's
 * multiset pass — they're paired by exact identity-hash equality,
 * which the matcher already handles without any locator metadata.
 */
import type { LocatedIdentity } from './git-aware-match';
import type { BaselineEntry } from './types';
/**
 * Build a `LocatedIdentity` from one stored entry. The id is the
 * already-computed identity hash; locator fields are populated for
 * the kinds the matcher's location-pair / content-hash passes can
 * use.
 *
 * Sanitized entries (`sanitized: true`) carry only identity + kind;
 * they short-circuit to identity-only locators because the
 * location-pair pass has no fields to compare. The matcher's
 * multiset pass still pairs them at full confidence by id.
 */
export declare function entryToLocated(entry: BaselineEntry): LocatedIdentity;
/** Convenience: map an array of entries through `entryToLocated`. */
export declare function entriesToLocated(entries: ReadonlyArray<BaselineEntry>): ReadonlyArray<LocatedIdentity>;
//# sourceMappingURL=entry-to-located.d.ts.map