/** * MT (Masoretic / Hebrew) <-> English (KJV) versification. * Ported from gematriabible.com/scripts/versification-mapping.js and then * content-verified/corrected against the actual OHB (Hebrew) and Crosswire KJV * verse data: Psalm-title offsets, Joel/Malachi chapter differences, and the many * single-book verse offsets (Samuel, Kings, Chronicles, * Genesis/Exodus/Leviticus/Numbers/Deuteronomy, Ezekiel, the Twelve...). * The MT<->English mapping here is corrected and round-trip-tested * (see tests/versification-corrections.test.ts); englishToMt is a bounded-search * inverse of mtToEnglish so the two cannot drift apart. * mtToEnglish may return null where a Hebrew verse has no distinct KJV verse. * * KNOWN GAPS (handled elsewhere, NOT covered here): MT<->LXX (Septuagint) * differences outside the Psalm titles, and NT English/Greek verse splits. */ import type { Ref } from './psalms.js'; declare const PSALMS_WITH_TITLE_VERSE: number[]; declare const PSALMS_WITH_TWO_VERSE_TITLE: number[]; /** * Get the KJV verse reference for a Hebrew/Greek verse reference * @param {string} book - Book name (e.g., "Psalms", "Joel") * @param {number} chapter - Hebrew chapter number * @param {number} verse - Hebrew verse number * @returns {{ chapter: number, verse: number } | null} - KJV reference, or null if no KJV equivalent */ export declare function mtToEnglish(book: string, chapter: number, verse: number): Ref | null; /** * Hebrew (MT) ref for a KJV/English ref — the inverse of {@link mtToEnglish}. * * Derived directly from `mtToEnglish` by a small bounded local search rather than a * second, drift-prone offset table (the previous version only covered ~8 books and * silently returned identity for the rest — a broken round-trip). Versification * offsets are local: the Hebrew chapter differs from the English by at most one and * the verse by less than a chapter. We scan candidate Hebrew refs in that * neighbourhood and return the one that maps forward to the requested English ref, * PREFERRING a non-identity preimage over the identity one — this is what makes * chapter-boundary shifts invert correctly despite the forward map not being * injective over non-existent "phantom" verses (e.g. KJV Gen 31:55 has a phantom * identity preimage Heb 31:55 and the real shifted preimage Heb 32:1; we return 32:1). * * Known limitation: for a subdivided verse (KJV 12:4 = Heb 12:4+12:5) the inverse * returns the second Hebrew part; both carry the same English content. */ export declare function englishToMt(book: string, chapter: number, verse: number): Ref; export { PSALMS_WITH_TITLE_VERSE, PSALMS_WITH_TWO_VERSE_TITLE }; //# sourceMappingURL=english.d.ts.map