import type { AuditVerdict } from './audit-runner.js'; /** Strip a URL fragment/anchor so verdict sources match frontmatter sources reliably. */ export declare function normalizeUrl(u: string): string; export interface ApplyOptions { /** * Optional map of normalized-url → fresh sha256 hash, computed deterministically * by the caller (typically the CLI wrapper, which re-fetches each * `verdict.sources_checked.url` before calling apply). When provided, these * hashes are persisted to frontmatter instead of the LLM-claimed * `content_hash` (which is not deterministically verifiable). When omitted — * e.g. in unit tests — apply falls back to the LLM-claimed hash. */ trustedHashes?: Map; } export declare function applyVerdictToEntry(original: string, verdict: AuditVerdict, opts?: ApplyOptions): string; /** * Return the first heading that appears ≥2× in `after` AND more times than it did * in `before` (i.e. a duplicate this apply introduced), or null if none. H3s are * compared within their parent H2 section; the returned string is the bare * heading line. */ export declare function newlyDuplicatedHeading(before: string, after: string): string | null; /** * Return the first H2 that is a NEWLY-INTRODUCED edition-parallel of another H2 * (e.g. "## OWASP Top 10:2025" added beside "## OWASP Top 10") — one not already * parallel in `before`. Catches the edition-upgrade failure mode the prompt * forbids; null if none. */ export declare function newlyParallelH2(before: string, after: string): string | null; //# sourceMappingURL=audit-apply.d.ts.map