UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

15 lines (13 loc) 524 B
import { RiwayaData } from "./lists/types.mjs"; import { AyahNo, Surah, SurahAyah } from "./types.mjs"; //#region src/prevAyah.d.ts /** * Get the previous ayah for the given surah and ayah number. * @param surah - The surah number. * @param ayah - The ayah number within the surah. * @param data - The Lists object containing SurahList. * @returns The surah and ayah number of the previous ayah. */ declare function prevAyah(surah: Surah, ayah: AyahNo, data: RiwayaData): SurahAyah; //#endregion export { prevAyah };