export type Locale = string; export interface Translation { canonical: string; alternatives: string[]; } export interface TzolkinDayTranslations { [dayName: string]: Translation; } export interface HaabMonthTranslations { [monthName: string]: Translation; } export interface LocaleDefinition { locale: Locale; name: string; tzolkinDays?: TzolkinDayTranslations; haabMonths?: HaabMonthTranslations; } export interface I18nRenderOptions { locale?: Locale; }