UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

9 lines (8 loc) 372 B
import { AyahId, SurahAyah } from "./types"; /** * Finds the Surah (chapter) and Ayah (verse) numbers that the given Ayah ID belongs to. * * @param ayaId - 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. */ export declare function findSurahByAyahId(ayaId: AyahId): SurahAyah;