import { HDate } from '@hebcal/hdate'; import { AliyotMap, SpecialReading } from './types.js'; /** * Determines if the regular parashat haShavua coincides with an event that requires * a special maftir or Haftara (for example Shabbat HaGadol, Shabbat Chanukah, Rosh * Chodesh or Machar Chodesh, etc.). * * This function does not modify `aliyot`. Instead, it returns a deep copy * with `aliyot['M']` replaced and sets `reason.M` * (and in some cases the 6th and 7th aliyah, setting `reason['7']`). * * If a special Haftarah applies, the result will have a `haft` property * pointing to Haftarah object and sets `reason.haftara`. * @param parsha untranslated parsha name(s), e.g. `['Pinchas']` * @param hd the Hebrew date of this Shabbat * @param il `true` for the Israel schedule * @param aliyot the parsha's regular Shabbat aliyot (not modified) * @returns the special-reading overrides (see {@link SpecialReading}) */ export declare function specialReadings2(parsha: string[], hd: HDate, il: boolean, aliyot: AliyotMap): SpecialReading;