quran-meta
Version:
Library with meta data and functionality related to Holy Quran
15 lines (13 loc) • 587 B
text/typescript
import { RiwayaData } from "./lists/types.cjs";
import { AyahId, SurahAyah } from "./types.cjs";
//#region src/findSurahAyahByAyahId.d.ts
/**
* Finds the Surah (chapter) and Ayah (verse) numbers that the given Ayah ID belongs to.
*
* @param ayahId - The Ayah ID to find the Surah and Ayah numbers for.
* @param lists - The Lists object containing SurahList.
* @returns An array containing the Surah number and the Ayah number within that Surah.
*/
declare function findSurahAyahByAyahId(ayahId: AyahId, data: RiwayaData): SurahAyah;
//#endregion
export { findSurahAyahByAyahId };