UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

16 lines (14 loc) 558 B
import { RiwayaData } from "./lists/types.cjs"; import { AyahId, AyahNo, Page, Surah } from "./types.cjs"; //#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 };