import ReplacementsInterface from './replacements'; /** * */ export default interface ContextInterface { currentLocale: () => string; getLocales: () => string[]; isLocale: (locale: string) => boolean; loading: boolean; setLocale: (locale: string) => void; t: (key: T, replacements?: ReplacementsInterface) => string; tChoice: (key: T, number: number, replacements?: ReplacementsInterface) => string; }