quran-meta
Version:
Library with meta data and functionality related to Holy Quran
16 lines (14 loc) • 591 B
text/typescript
import { RiwayaData } from "./lists/types.cjs";
import { AyahNo, Juz, Surah } from "./types.cjs";
//#region src/findJuz.d.ts
/**
* Finds the Juz (part) of the Quran that the given Ayah (verse) belongs to.
*
* @param surah - The Surah (chapter) number.
* @param ayah - The Ayah (verse) number. Defaults to 1 if not provided.
* @param lists - The Lists object containing JuzList and SurahList.
* @returns The Juz (part) number that the given Ayah belongs to.
*/
declare function findJuz(surah: Surah, ayah: AyahNo | undefined, lists: RiwayaData): Juz;
//#endregion
export { findJuz };