@helpwave/hightide
Version:
helpwave's component and theming library
40 lines (37 loc) • 1.1 kB
TypeScript
import { TranslationPlural, Translation } from '../useTranslation.js';
import '../util.js';
type MonthTranslationType = {
january: string;
february: string;
march: string;
april: string;
may: string;
june: string;
july: string;
august: string;
september: string;
october: string;
november: string;
december: string;
};
declare const monthTranslation: Translation<MonthTranslationType>;
type TimeTranslationType = {
century: TranslationPlural;
decade: TranslationPlural;
year: TranslationPlural;
month: TranslationPlural;
day: TranslationPlural;
hour: TranslationPlural;
minute: TranslationPlural;
second: TranslationPlural;
millisecond: TranslationPlural;
microsecond: TranslationPlural;
nanosecond: TranslationPlural;
yesterday: string;
today: string;
tomorrow: string;
in: string;
ago: string;
} & MonthTranslationType;
declare const timeTranslation: Translation<TimeTranslationType>;
export { type MonthTranslationType, type TimeTranslationType, monthTranslation, timeTranslation };