import { LocalizedText } from '../i18n/index.js'; import '../i18n/en.js'; import '../i18n/common/types.js'; import '../i18n/pt.js'; interface CalendarEvent { id: string; title: string; start: Date; end: Date; allDay?: boolean; description?: string; location?: string; color?: string; } interface CalendarData { events: CalendarEvent[]; currentView?: "day" | "week" | "month" | "year"; selectedDateRange?: { start: Date; end: Date; }; } declare enum HolidayType { PUBLIC = "public",// Public holiday, widely observed BANK = "bank",// Bank holiday, banks and often offices are closed SCHOOL = "school",// School holiday, schools are closed OPTIONAL = "optional",// Optional holiday, many people take the day off OBSERVANCE = "observance",// Observance, a festivity, but not typically a paid day off OTHER = "other" } interface Holiday { id?: string; date: string; name: LocalizedText[]; type: HolidayType; nationwide?: boolean; comment?: LocalizedText[]; substitute?: boolean; countryCode?: string; stateCode?: string; } interface HolidayCalendar { id: string; name: LocalizedText[]; description?: LocalizedText[]; holidays: Holiday[]; countryCode: string; stateCode?: string; startDate?: string; endDate?: string; } interface DateDimension { dateKey: number; fullDateUSA: string; dayOfMonth: number; daySuffix: string; dayName: string; dayOfWeekUSA: number; dayOfYear: number; weekOfYear: number; halfYear: number; monthName: string; monthOfQuarter: number; quarter: number; quarterName: string; year: number; monthYear: string; isWeekday: boolean; fiscalDayOfYear?: number; fiscalPeriod?: number; fiscalQuarter?: number; fiscalQuarterName?: string; fiscalYear?: number; } type Time = { hour24: number; minute: number; dailyperiods?: DailyPeriod[]; }; type TimeDimension = Time & { hour24: number; minute: number; }; declare const dailyPeriods: { readonly eod: "eod"; readonly bod: "bod"; readonly mid: "mid"; readonly hourly: "hourly"; }; type DailyPeriod = (typeof dailyPeriods)[keyof typeof dailyPeriods]; declare const weeklyPeriods: { readonly monday: "monday"; readonly tuesday: "tuesday"; readonly wednesday: "wednesday"; readonly thursday: "thursday"; readonly friday: "friday"; readonly saturday: "saturday"; readonly sunday: "sunday"; readonly bow: "bow"; readonly eow: "eow"; }; declare const monthlyPeriods: { readonly january: "january"; readonly february: "february"; readonly march: "march"; readonly april: "april"; readonly may: "may"; readonly june: "june"; readonly july: "july"; readonly august: "august"; readonly september: "september"; readonly october: "october"; readonly november: "november"; readonly december: "december"; readonly eoy: "eoy"; readonly qtrly: "qtrly"; }; type burstyPeriods = { from: number; to: number; frequency?: number; }; declare const periodDefinition: { eoy: string; qtrly: string; monthly: string; weekly: string; daily: string; bow: string; eow: string; eod: string; bod: string; mid: string; }; type PeriodDefinition = (typeof periodDefinition)[keyof typeof periodDefinition]; declare const periodDefinitions: {}; declare const updateFreqs: { stream: string; asap: string; sla: string; hourly: string; periodic: string; daily: string; }; type UpdateFreq = (typeof updateFreqs)[keyof typeof updateFreqs]; export { type CalendarData, type CalendarEvent, type DailyPeriod, type DateDimension, type Holiday, type HolidayCalendar, HolidayType, type PeriodDefinition, type Time, type TimeDimension, type UpdateFreq, type burstyPeriods, dailyPeriods, monthlyPeriods, periodDefinition, periodDefinitions, updateFreqs, weeklyPeriods };