import { I as Surah, W as SurahName } from "./types-lM7S_eMD.js"; import { n as SurahNames } from "./types-BQYy3HA6.js"; //#region src/i18n/surah.en.d.ts declare const surahNamesEn: SurahNames; //#endregion //#region src/i18n/surah.ar.d.ts /** * Surah names in Arabic script: [name with tashkeel, name without tashkeel]. */ declare const surahNamesAr: SurahNames; //#endregion //#region src/i18n/getSurahName.d.ts /** * Returns the name of one Surah from a names table, falling back to English when the * table has no entry for it. * * Only the table you pass ends up in your bundle: English and Arabic come with the main * entry, the other languages from `quran-meta/i18n` or `getSurahNamesAsync`. * * @param surah - The surah number * @param names - The names table, {@link surahNamesEn} by default * @returns `[name, translation]`, e.g. `["Al-Baqara", "The Cow"]`. For Arabic it is * `[name with tashkeel, name without tashkeel]`. * @throws RangeError If the surah number is not between 1 and 114 * * @example * ```typescript * import { getSurahName, surahNamesAr } from "quran-meta" * import { surahNamesFr } from "quran-meta/i18n" * * getSurahName(2) // ["Al-Baqara", "The Cow"] * getSurahName(2, surahNamesAr) // ["البَقَرَة", "البقرة"] * getSurahName(2, surahNamesFr) // ["Al Baqarah", "La vache"] * ``` * * @category Surah Names */ declare function getSurahName(surah: Surah, names?: SurahNames): SurahName; //#endregion export { surahNamesAr as n, surahNamesEn as r, getSurahName as t };