import { I18nConfig, I18nLanguageData, I18nScene, StringIndexedObject } from '../extensions/Interfaces'; export default class I18nPlugin extends Phaser.Events.EventEmitter { protected game: Phaser.Game; config: I18nConfig; protected currentJSON: StringIndexedObject; protected currentLanguageData: I18nLanguageData; protected previousLanguage: string; static LANGUAGE_CHANGED_EVENT: string; constructor(game: Phaser.Game, config: I18nConfig); init(language?: string): void; translate(key: string, options: StringIndexedObject): string; changeLanguage(language: string): void; protected updateCurrentLanguageObject(): void; protected readonly scenes: I18nScene[]; protected readonly languageKey: string; getFont(oldFontName: string): string; getBitmapFont(oldFontName: string): string; }