import { HDate } from '@hebcal/hdate'; import { CalOptions } from './CalOptions'; import { Location } from './location'; import { Event } from './event'; import { ChanukahEvent, HolidayEvent } from './HolidayEvent'; import { TimedEvent } from './TimedEvent'; /** * @private */ export declare function makeCandleEvent(ev: Event | undefined, hd: HDate, options: CalOptions, isFriday: boolean, isSaturday: boolean): TimedEvent | undefined; /** * A fast day holiday with attached start and end time events. * * Wraps an underlying fast-day {@link HolidayEvent} and (when computable * for the given location) exposes a "Fast begins" and "Fast ends" * {@link TimedEvent}. Generated by {@link HebrewCalendar.calendar} when * `options.candlelighting` is `true` and `options.location` is provided. * * - Minor fasts begin at *Alot HaShachar* (16.1° below horizon in the morning) * and end at tzeit (7.083° by default — overridable via `options.fastEndDeg`). * - Tish'a B'Av begins at sunset on the previous day and ends at tzeit. * - When a minor fast falls on a Friday, the end time is suppressed * (Shabbat begins before nightfall). */ export declare class FastDayEvent extends HolidayEvent { /** original event */ readonly linkedEvent: HolidayEvent; /** this will be a "Fast begins" event */ readonly startEvent?: TimedEvent; /** this will be a "Fast ends" event */ readonly endEvent?: TimedEvent; constructor(linkedEvent: HolidayEvent, startEvent?: TimedEvent, endEvent?: TimedEvent); render(locale?: string): string; renderBrief(locale?: string): string; urlDateSuffix(): string; url(): string | undefined; getEmoji(): string; getCategories(): string[]; } /** * Makes a pair of events representing fast start and end times * @private */ export declare function makeFastStartEnd(ev: HolidayEvent, options: CalOptions): FastDayEvent; export declare class TimedChanukahEvent extends ChanukahEvent { eventTime: Date; eventTimeStr: string; readonly location: Location; constructor(ev: ChanukahEvent, eventTime: Date, location: Location); } /** * Makes a candle-lighting event for Chankah (not on Friday/Saturday). * At one point this used civil dusk (6 degrees below horizon). * Another source suggests 4.6667 degrees below horizon. * @private */ export declare function makeWeekdayChanukahCandleLighting(ev: ChanukahEvent, options: CalOptions): TimedChanukahEvent | null;