import { RiwayaData } from "./lists/types.cjs";
import { AyahId, Page } from "./types.cjs";

//#region src/findPagebyAyahId.d.ts
/**
 * Returns the page number for a given ayah ID in the Quran.
 *
 * @param ayahId - A numeric identifier representing a verse (ayah) in the Quran
 * @param data - The Lists object for the riwaya.
 * @returns The page number where the specified ayah can be found
 * @throws Will throw an error if the ayahId is invalid
 *
 * @example
 * ```ts
 * const page = findPagebyAyahId(142, HafsLists); // Returns the page number containing ayah 142
 * ```
 */
declare function findPagebyAyahId(ayahId: AyahId, data: RiwayaData): Page;
//#endregion
export { findPagebyAyahId };