quran-meta
Version:
Library with meta data and functionality related to Holy Quran
15 lines (13 loc) • 581 B
text/typescript
import { RiwayaData } from "./lists/types.mjs";
import { AyahId, RubAlHizbMeta } from "./types.mjs";
//#region src/getRubAlHizbMetaByAyahId.d.ts
/**
* Finds the Juz, Hizb, and Rub-el-Hizb id for the given Ayah ID.
*
* @param ayahId - The Ayah ID to find the Juz, Hizb, and Hizb ID for.
* @param data - The Lists object containing HizbQuarterList.
* @returns An object containing the Juz, Hizb, and Hizb ID for the given Ayah ID.
*/
declare function getRubAlHizbMetaByAyahId(ayahId: AyahId, data: RiwayaData): RubAlHizbMeta;
//#endregion
export { getRubAlHizbMetaByAyahId };