quran-meta
Version:
Library with meta data and functionality related to Holy Quran
15 lines (13 loc) • 549 B
text/typescript
import { RiwayaData } from "./lists/types.cjs";
import { AyahId, RubAlHizb } from "./types.cjs";
//#region src/getRubAlHizbByAyahId.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 for the riwaya.
* @returns An object containing the Juz, Hizb, and Hizb ID for the given Ayah ID.
*/
declare function getRubAlHizbByAyahId(ayahId: AyahId, data: RiwayaData): RubAlHizb;
//#endregion
export { getRubAlHizbByAyahId };