quran-meta
Version:
Library with meta data and functionality related to Holy Quran
14 lines (12 loc) • 444 B
text/typescript
import { Juz, JuzMeta } from "./types.cjs";
//#region src/getJuzMeta.d.ts
/**
* Retrieves metadata for a specific Juz of the Quran.
*
* @param juzNum - The Juz number to retrieve metadata for (1-30)
* @returns An object containing the Juz number, first ayah, and last ayah in the Juz
* @throws RangeError If the Juz number is not between 1 and 30
*/
declare function getJuzMeta(juzNum: Juz): JuzMeta;
//#endregion
export { getJuzMeta };