import { Event } from '@hebcal/core/dist/esm/event'; import { Leyning } from './types.js'; /** * Looks up the leyning for a holiday by its (untranslated) reading key — * one of the keys in `holiday-readings.json`. * * Most callers should use {@link getLeyningForHoliday}, which derives the key * from an event; use this directly only when you already know the key. * @param [key] reading name from `holiday-readings.json`, e.g. * `'Yom Kippur (Morning)'`. Returns `undefined` if omitted or unknown. * @param [cholHaMoedDay] day within Chol ha-Moed, used to pick the correct * maftir for `'Sukkot Shabbat Chol ha-Moed'` * @param [il] `true` for the Israel schedule; filters out readings that apply * only to the other schedule * @param [language] language for names and summary (default `'en'`) * @returns the holiday leyning, or `undefined` if there is no such reading */ export declare function getLeyningForHolidayKey(key?: string, cholHaMoedDay?: number, il?: boolean, language?: string): Leyning | undefined; /** * Looks up the leyning for a holiday event. * * Depending on the holiday, the result may include the full kriyah, a special * maftir, one or more Haftarot, and/or a megillah. * @param ev a Hebcal holiday event (not a parsha hashavua event) * @param [il] `true` for the Israel schedule (default `false`) * @param [language] language for names and summary (default `'en'`) * @returns the holiday leyning, or `undefined` if this event has no reading * @throws {TypeError} if `ev` is not a valid event or is a parsha event */ export declare function getLeyningForHoliday(ev: Event, il?: boolean, language?: string): Leyning | undefined;