import { InjectionToken } from '@angular/core' ; import { I18NextErrorHandlingStrategy } from './I18NextErrorHandlingStrategies' ; import { ITranslationService } from './ITranslationService' ; export const I18NEXT_SCOPE = new InjectionToken < string | string [ ] > ( 'I18NEXT_SCOPE' ) ; export const I18NEXT_NAMESPACE = new InjectionToken < string | string [ ] > ( 'I18NEXT_NAMESPACE' ) ; export const I18NEXT_SERVICE = new InjectionToken < ITranslationService > ( 'I18NEXT_SERVICE' ) ; export const I18NEXT_NAMESPACE_RESOLVER = new InjectionToken < Promise < void > > ( 'I18NEXT_NAMESPACE_RESOLVER' ) ; export const I18NEXT_ERROR_HANDLING_STRATEGY = new InjectionToken < I18NextErrorHandlingStrategy > ( 'I18NEXT_ERROR_HANDLING_STRATEGY' ) ;