/** * Cross-edition versification mapping. * * Editions number chapters/verses differently. This module maps a reference * between versification SCHEMES so that parallel lookups line up. * * Coverage today: * - MT <-> LXX Psalms: FULLY mapped + empirically verified (see ./psalms). * - MT <-> English (KJV): full per-book offsets (Psalm titles, Joel, Malachi, * Samuel/Kings/Chronicles, Torah, the Twelve…; see ./english). * - Other books MT<->LXX: identity, and only partial — some books have real * MT/LXX offsets not yet encoded (e.g. LXX Gen 31:55 = MT 32:1), so non-Psalms * MT<->LXX is unverified (see isMappingReliable()). * - LXX <-> English composes through the Masoretic pivot. * * Structurally-divergent MT<->LXX books (Jeremiah's whole-book reorder, Exodus * 35–40, 1 Kings/3 Kingdoms, Joshua, Proverbs, Daniel/Esther additions) are * listed in MT_LXX_DIVERGENT_BOOKS: their MT<->LXX mapping returns null (rather * than a known-wrong identity), and isMappingReliable() reports them as * unreliable. Completing them needs edition-specific verse-mapping data. */ import { psalmMtToLxx, psalmLxxToMt, type Ref } from './psalms.js'; import { mtToEnglish, englishToMt } from './english.js'; import type { Scheme } from './schemes.js'; export type { Scheme }; /** * Which versification scheme each registered edition follows. * * NOTE: a scheme captures chapter/verse NUMBERING only, not which verses an * edition actually contains. Several editions share the 'English' (KJV/Protestant) * numbering yet have DIFFERENT verse inventories — e.g. the Textus-Receptus * editions (crosswire-KJV, byztxt-TR, stepbible-tagnt-tr) carry the disputed * verses (Acts 8:37, 1 John 5:7, Mark 16:9-20…), while the critical-text * berean-BSB omits ~16 of them. So a verse valid in KJV can be ABSENT in BSB even * though both are 'English'. Use `editionHasVerse()` for inventory, and * `mapVerseToEdition()` for numbering + inventory together. */ export declare const EDITION_SCHEME: Record; export declare function schemeFor(edition: string): Scheme | undefined; /** * Books whose MT vs LXX structure diverges beyond a simple per-verse offset — * whole-book / large-block reorderings and Greek additions. Verified for * Jeremiah (Swete numbers it in the reordered LXX order: Swete Jer 26 = the Elam * oracle = MT 49:34). We do NOT have a verified verse-level map for these yet, so * rather than return a KNOWN-WRONG identity alignment, MT<->LXX mapping returns * null for them (getParallelVerses simply omits the unreliable edition). Callers * can test this up front with isMappingReliable(). Completing these needs * dedicated, edition-specific verse-mapping data. */ export declare const MT_LXX_DIVERGENT_BOOKS: Set; /** * Is the verse mapping between two schemes reliable for this book? * * Routes to the resolved versification source; with only the built-in * registered this is byte-identical to the historical behavior. */ export declare function isMappingReliable(book: string, from: Scheme, to: Scheme): boolean; /** * Map a reference from one versification scheme to another. Routes to the * resolved versification source (pivoting through the Masoretic numbering in the * built-in, so LXX<->English composes). Returns null when the source ref has no * equivalent in the target scheme (e.g. LXX Psalm 151, or a Hebrew verse with no * distinct KJV verse), or when no registered source covers the pair. */ export declare function mapVerse(book: string, chapter: number, verse: number, from: Scheme, to: Scheme): Ref | null; export { psalmMtToLxx, psalmLxxToMt, mtToEnglish, englishToMt }; export type { Ref }; export { registerVersification, unregisterVersification, getVersificationSources, resolveVersificationSource, type VersificationSource, } from './registry.js'; //# sourceMappingURL=index.d.ts.map