UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

14 lines (12 loc) 508 B
import { AyahId, AyahMeta } from "./types.cjs"; //#region src/getAyahMeta.d.ts /** * Retrieves metadata for a specific ayah of the Quran. * * @param ayahId - The ayahId number to retrieve metadata for (1-6236) * @returns An object containing the ayah related meta, including information about the surah, juz, and quarter the ayah is in. * @throws RangeError If the ayahId number is not between 1 and 6236 */ declare function getAyahMeta(ayahId: AyahId): AyahMeta; //#endregion export { getAyahMeta };