import { AutocompleteLocale } from '../Autocomplete/Autocomplete.types'; import { DatePickersLocale } from '../DatePickers/types'; import { PaginationLocale } from '../Pagination/Pagination.types'; import { TablePaginationLocale } from '../TablePagination/TablePagination.types'; export interface CustomLocaleCode { } export type SupportedLocaleCode = 'ar-EG' | 'bg-BG' | 'cs-CZ' | 'da-DK' | 'de-DE' | 'en-GB' | 'en-US' | 'es-ES' | 'fr-FR' | 'hu-HU' | 'it-IT' | 'ja-JP' | 'ko-KR' | 'nl-NL' | 'pl-PL' | 'pt-BR' | 'pt-PT' | 'ro-RO' | 'ru-RU' | 'sk-SK' | 'sv-SE' | 'th-TH' | 'tr-TR' | 'zh-CN' | 'zh-TW'; export type LocaleCode = SupportedLocaleCode | keyof CustomLocaleCode; export interface Locale { locale: LocaleCode; Pagination: Required; TablePagination: Required; Autocomplete: Required; DatePickers: DatePickersLocale; } export { useLanguage, useLocale } from './LocaleProvider';