quran-meta
Version:
Library with meta data and functionality related to Holy Quran
13 lines (11 loc) • 463 B
TypeScript
import { AyahId, SurahAyah } from "./types.js";
//#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.
* @returns An array containing the Surah number and the Ayah number within that Surah.
*/
declare function findSurahAyahByAyahId(ayahId: AyahId): SurahAyah;
//#endregion
export { findSurahAyahByAyahId };