import _default from "../locale/index.js"; /** * Internationalization key type declaration, plugins can extend through declaration merging */ type LocaleType = typeof _default; type FlattenKeys = { [K in keyof T & string]: T[K] extends string ? Prefix extends '' ? K : `${Prefix}.${K}` : T[K] extends Record ? FlattenKeys : never; }[keyof T & string]; type ILocaleKeys = Record, string>; export { ILocaleKeys, LocaleType };