import { InitOptions } from "i18next"; import { LOCALES } from "./constants"; export declare type InitI18NextOptions = Required, "fallbackLng" | "lng" | "resources" | "defaultNS" | "ns">> & Pick, "supportedLngs" | "debug" | "fallbackNS" | "detection">; export declare type Locales = typeof LOCALES[keyof typeof LOCALES]; declare type LocaleFile = Record; declare type NamespaceDefinition = Partial>; /** * Defines the structure of locale resources, containing multiple namespace definitions. * @template N The type of the namespace keys. * @template L The type of the allowed language. * @example type LocaleResourcesInstance = LocaleResources<"Main" | "Api" | "Test", "en" | "fa">; */ export declare type LocaleResources = Record>; export {};