UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

14 lines (12 loc) 485 B
import { Page, PageMeta } from "./types.cjs"; //#region src/getPageMeta.d.ts /** * Retrieves metadata for a specific page of the Quran. * * @param pageNum - The page number to retrieve metadata for (1-604) * @returns {@link PageMeta} An object containing the page number, first ayah, and last ayah on the page * @throws {@link RangeError} If the page number is not between 1 and 604 */ declare function getPageMeta(pageNum: Page): PageMeta; //#endregion export { getPageMeta };