import { Event } from '@hebcal/core/dist/esm/event'; import { CalOptions } from '@hebcal/core/dist/esm/CalOptions'; export type StringMap = Record; export type RestApiEventOptions = { utmSource?: string; utmMedium?: string; utmCampaign?: string; tachanun?: boolean; appendHebrewToSubject?: boolean; yahrzeit?: boolean; subscribe?: string | number | boolean; heDateParts?: boolean; includeEvent?: boolean; euro?: boolean; title?: string; description?: string; dayFormat?: Intl.DateTimeFormat; mainUrl?: string; selfUrl?: string; buildDate?: Date; lastBuildDate?: string; evPubDate?: boolean; lang?: string; preferAsciiName?: boolean; }; export type RestApiOptions = CalOptions & RestApiEventOptions; export declare function getDownloadFilename(options: RestApiOptions): string; /** * Returns just the date portion as YYYY-MM-DD * @deprecated use `isoDateString` instead */ export declare function toISOString(d: Date): string; /** * Returns a category and subcategory name */ export declare function getEventCategories(ev: Event): string[]; /** * Renders the event title in default locale, but strips off time * @deprecated */ export declare function renderTitleWithoutTime(ev: Event, locale?: string): string; /** * Generates a title like "Hebcal 2020 Israel" or "Hebcal May 1993 Providence" */ export declare function getCalendarTitle(events: Event[], options: RestApiOptions): string; /** * Bitmask for learning events (Daf Yomi, Nach Yomi, Mishna Yomi, Daily Learning, Yerushalmi Yomi) */ export declare const LEARNING_MASK: number; export declare function shouldRenderBrief(ev: Event): boolean;