quran-meta
Version:
Library with meta data and functionality related to Holy Quran
16 lines (14 loc) • 558 B
text/typescript
import { RiwayaData } from "./lists/types.mjs";
import { AyahId, AyahNo, Page, Surah } from "./types.mjs";
//#region src/findPage.d.ts
/**
* Finds the page number for the given Surah and Ayah number.
*
* @param surah - The Surah to find the page for.
* @param ayah - The Ayah number to find the page for.
* @param data - The Lists object for the riwaya.
* @returns The page number for the given Surah and Ayah.
*/
declare function findPage(surah: Surah, ayah: (AyahNo | AyahId) | undefined, data: RiwayaData): Page;
//#endregion
export { findPage };