UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

16 lines (14 loc) 670 B
import { RiwayaData } from "./lists/types.cjs"; import { AyahNo, Surah, SurahJuzMeta } from "./types.cjs"; //#region src/findJuzMetaBySurah.d.ts /** * Finds the SurahJuzMeta for a given Surah and Ayah. * * @param surah - The Surah (chapter) number. * @param ayah - The Ayah (verse) number. * @param data - The Lists object for the riwaya. * @returns The SurahJuzMeta object containing the left juz, ayahs between juz and surah, right juz, ayah ID of first ayah in left juz, and last ayah ID of right juz . */ declare function findJuzMetaBySurah(surah: Surah, ayah: AyahNo | undefined, data: RiwayaData): SurahJuzMeta; //#endregion export { findJuzMetaBySurah };