type FlexibleTimeValue = number | string | Date | null | undefined; declare function prepareDateValue(t: FlexibleTimeValue): Date | undefined; type DateTimeInterpolationParts = { upperZulu: string; lowerZulu: string; hours: number; hours12: number; hoursZero: string; minutes: number; minutesZero: string; seconds: number; secondsZero: string; ampm: string; ampmLower: string; day: number; dayZero: string; dayOrd: string; weekdayNumber: number; weekday: string; weekdayAbbr: string; month: number; monthZero: string; monthName: string; monthAbbr: string; year: number; }; declare function dateTimeInterpolationParts(d: Date, { utc }?: { utc?: boolean; }): DateTimeInterpolationParts; declare function fmtShortTimeZulu(t: FlexibleTimeValue, { showZ }?: { showZ?: boolean; }): string; declare function fmtTimeZulu(t: FlexibleTimeValue, { showZ, compact }?: { showZ?: boolean; compact?: boolean; }): string; declare function fmtDateZulu(t: FlexibleTimeValue): string; declare function fmtDateTimeDynamic(t: FlexibleTimeValue, { now, compact, utc }?: { now?: Date; compact?: boolean; utc?: boolean; }): string; declare function fmtDateTimeDynamicZulu(t: FlexibleTimeValue, { now, compact }?: { now?: Date; compact?: boolean; }): string; declare function fmtDateDynamic(t: FlexibleTimeValue, { now, compact, utc }?: { now?: Date; compact?: boolean; utc?: boolean; }): string; declare function fmtDateDynamicZulu(t: FlexibleTimeValue, { now, compact }?: { now?: Date; compact?: boolean; }): string; declare function fmtDateTimeNice(t: FlexibleTimeValue, { utc }?: { utc?: boolean; }): string; declare function fmtDateTimeNiceZulu(t: FlexibleTimeValue): string; declare function fmtDateNice(t: FlexibleTimeValue, { utc }?: { utc?: boolean; }): string; declare function fmtDateNiceZulu(t: FlexibleTimeValue): string; declare function fmtDateFull(t: FlexibleTimeValue, { compact, utc }?: { compact?: boolean; utc?: boolean; }): string; declare function fmtDateFullZulu(t: FlexibleTimeValue, { compact }?: { compact?: boolean; }): string; declare function fmtDateTimeRelative(t: FlexibleTimeValue, { now, roundTo }?: { now?: Date; roundTo?: 'minutes' | 'hours'; }): string; declare function fmtTimestamp(t: FlexibleTimeValue): string; declare function fmtADIFDate(t: FlexibleTimeValue): string; declare function fmtADIFTime(t: FlexibleTimeValue): string; declare function fmtADIFDateTime(t: FlexibleTimeValue): string; declare function fmtCabrilloDate(t: FlexibleTimeValue): string; declare function fmtCabrilloTime(t: FlexibleTimeValue): string; declare function fmtISODate(t: FlexibleTimeValue): string; declare function fmtISODateTime(t: FlexibleTimeValue): string; declare function fmtTimeBetween(t1: FlexibleTimeValue, t2: FlexibleTimeValue, { roundTo }?: { roundTo?: 'minutes' | 'hours'; }): string; declare function fmtDateTimeNiceRange(t1: FlexibleTimeValue, t2: FlexibleTimeValue, { utc }?: { utc?: boolean; }): string; declare function fmtDateTime(t: FlexibleTimeValue, options?: Intl.DateTimeFormatOptions): string; declare function dateFormatterGenerator(formatName: string, options?: Intl.DateTimeFormatOptions): (t: FlexibleTimeValue) => string; declare function fmtDateTimeISO(t: FlexibleTimeValue): string; type TranslationFunction = (key: string | string[], fallback: string, params?: Record) => string; declare const defaultTranslationImplementation: TranslationFunction; declare const defaultI18N: { t: TranslationFunction; }; declare function setTranslationFunction(t: TranslationFunction): void; declare function getCurrentLocale(): string; type NumberFormat = 'default' | 'integer' | 'oneDecimal'; declare function fmtNumber(n: number | string, format?: NumberFormat): string; declare const fmtInteger: (n: number | string) => string; declare const fmtOneDecimal: (n: number | string) => string; declare function fmtPercent(n: number | string, format?: NumberFormat): string; declare function fmtMegabytes(bytes: number): string; declare function fmtGigabytes(bytes: number): string; declare function capitalizeString(str: string, options?: { content?: 'text' | 'name'; force?: boolean; }): string; declare function capitalizeFirstLetter(str: string): string; declare function camelCaseToWords(camelCase: string, { capitalize }?: { capitalize?: boolean; }): string; type TemplatePrimitiveValue = string | number | null | undefined; type TemplateFunction = (key: string, context: Record) => string; type TemplateValue = TemplatePrimitiveValue | TemplateFunction; declare function simpleTemplate(template: string, values?: Record, context?: Record): string; declare function countTemplate(count: number, { zero, one, more }?: { zero?: string; one?: string; more?: string; }, context?: Record): string; declare function sanitizeToISO8859(text: string): string; declare function escapeToUnicodeEntities(text: string): string; declare function removeASCIIControlCharacters(text: string): string; declare function slashZeros(text: string): string; declare function sanitizeForMarkdown(text: string): string; declare function joinAnd(parts: string[], { separator, conjunction, final }?: { separator?: string; conjunction?: string; final?: string; }): string; declare function fmtFreq(freq: number, { mode }?: { mode: string; }): string; declare function partsForFreq(freq: number): string[]; declare function parseFreq(freq: string | number): number | null; export { camelCaseToWords, capitalizeFirstLetter, capitalizeString, countTemplate, dateFormatterGenerator, dateTimeInterpolationParts, defaultI18N, defaultTranslationImplementation, escapeToUnicodeEntities, fmtADIFDate, fmtADIFDateTime, fmtADIFTime, fmtCabrilloDate, fmtCabrilloTime, fmtDateDynamic, fmtDateDynamicZulu, fmtDateFull, fmtDateFullZulu, fmtDateNice, fmtDateNiceZulu, fmtDateTime, fmtDateTimeDynamic, fmtDateTimeDynamicZulu, fmtDateTimeISO, fmtDateTimeNice, fmtDateTimeNiceRange, fmtDateTimeNiceZulu, fmtDateTimeRelative, fmtDateZulu, fmtFreq, fmtGigabytes, fmtISODate, fmtISODateTime, fmtInteger, fmtMegabytes, fmtNumber, fmtOneDecimal, fmtPercent, fmtShortTimeZulu, fmtTimeBetween, fmtTimeZulu, fmtTimestamp, getCurrentLocale, joinAnd, parseFreq, partsForFreq, prepareDateValue, removeASCIIControlCharacters, sanitizeForMarkdown, sanitizeToISO8859, setTranslationFunction, simpleTemplate, slashZeros };