import type { SupportedLanguagesType } from '@vben-core/typings'; type ImportLocaleFn = () => Promise<{ default: Record }>; interface LocaleSetupOptions { /** * Default language * @default zh-CN */ defaultLocale?: SupportedLanguagesType; /** * Load third-party library messages * @param lang * @returns */ loadThirdPartyMessage?: (lang: SupportedLanguagesType) => Promise; } export type { ImportLocaleFn, LocaleSetupOptions, SupportedLanguagesType };