UNPKG

@zextras/carbonio-shell-ui

Version:

The Zextras Carbonio web client

19 lines (18 loc) 577 B
import type { Locale } from 'date-fns'; import type { TFunction } from 'i18next'; export type LocaleDescriptor = { name: string; value: string; dateFnsLocale: { key?: string; localeImportPath: () => Promise<Locale>; } | undefined; tinymceLocale?: string; }; export declare const SUPPORTED_LOCALES: Record<string, LocaleDescriptor>; export type LocaleDescriptorWithLabels = LocaleDescriptor & { id: string; label: string; localName: string; }; export declare const localeList: (t: TFunction) => Array<LocaleDescriptorWithLabels>;