/** * Location mapping helpers for compile-mel-patch synthetic wrapper diagnostics. */ import type { Diagnostic } from "../diagnostics/types.js"; export declare const SYNTHETIC_PATCH_PREFIX_LINES = 3; export declare const SYNTHETIC_PATCH_PREFIX_COLUMNS = 6; export declare function computeLineStartOffsets(lines: string[]): number[]; export declare function makePatchLocationMapper(patchLines: string[], patchLineStarts: number[]): (location: Diagnostic["location"]) => Diagnostic["location"]; export declare function remapDiagnosticsToPatchSource(diagnostics: Diagnostic[], patchLines: string[], patchLineStarts: number[]): Diagnostic[];