import { Event } from '@hebcal/core/dist/esm/event'; import { AliyotMap, Leyning, LeyningNames, ParshaMeta } from './types.js'; /** * Builds the transliterated English and Hebrew names for a parsha. * @param parsha untranslated parsha name(s), e.g. `['Pinchas']` or * `['Matot', 'Masei']` for a doubled parsha * @returns object with the `en` name and `he` name (Hebrew with nikud) */ export declare function makeLeyningNames(parsha: string[]): LeyningNames; /** * Looks up the weekday (Monday & Thursday) Torah reading for a regular parsha. * * These are the abbreviated three-aliyah readings chanted on weekday * mornings, drawn from the beginning of the upcoming Shabbat parsha. * @param parsha untranslated name, e.g. `'Pinchas'`, `['Pinchas']`, or * `['Matot', 'Masei']` for a doubled parsha * @param [language] language for book names (default `'en'`) * @returns map of aliyot keyed by `'1'` through `'3'` */ export declare function getWeekdayReading(parsha: string | string[], language?: string): AliyotMap; /** * Looks up the leyning for a regular parsha, ignoring any special occasion. * * Unlike {@link getLeyningForParshaHaShavua}, this takes a bare parsha name * rather than a dated event and applies no special maftir/Haftarah overrides, * so it is date-independent. The result includes both the Shabbat * `fullkriyah` and the `weekday` reading. * @param parsha untranslated name, e.g. `'Pinchas'`, `['Pinchas']`, or * `['Matot', 'Masei']` for a doubled parsha * @param [language] language for names and summary (default `'en'`) * @returns the complete leyning for this parsha */ export declare function getLeyningForParsha(parsha: string | string[], language?: string): Leyning; /** * Looks up the leyning for a regular Shabbat parsha, applying any special * maftir or Haftarah that a coinciding occasion requires — Shabbat Rosh * Chodesh, Shabbat Chanukah, one of the four special Shabbatot, a Haftarah of * Admonition or Consolation, and so on. * @param ev the `ParshaEvent` for this Shabbat * @param [il] `true` for the Israel reading schedule (default `false`) * @param [language] language for names and summary (default `'en'`) * @returns the complete leyning, including `fullkriyah`, `haftara`, and any * `reason` explanations for overrides * @throws {TypeError} if `ev` is not a parsha hashavua event */ export declare function getLeyningForParshaHaShavua(ev: Event, il?: boolean, language?: string): Leyning; /** * Returns the raw metadata for a parsha from `aliyot.json`. * * This is the underlying data (verse tuples, book number, Haftarah theme, * etc.), not a computed reading — use {@link getLeyningForParsha} for that. * @param parsha untranslated name, e.g. `'Pinchas'`, `['Pinchas']`, or * `['Matot', 'Masei']` for a doubled parsha * @param [language] language for the Hebrew name and Haftarah (default `'en'`) * @returns the parsha metadata (see {@link ParshaMeta}) * @throws {TypeError} if `parsha` is not a known parsha name */ export declare function lookupParsha(parsha: string | string[], language?: string): ParshaMeta;