import { CrashReport } from "../../shared/types/managers"; import { EventEmitter } from "events"; import { AppAPI } from "./api"; import { AppConfig } from "./app.types"; import { AppState } from "./utils/appState"; type AppEvents = {}; export type AppStates = { isPlaying: boolean; }; export declare class App extends AppAPI { static DefaultAppStates: AppStates; readonly events: EventEmitter; readonly state: AppState; readonly config: AppConfig; constructor(config: AppConfig); getCrashReport(): CrashReport | null; crash(error?: Error | string | null | undefined): void; newGame(): Promise; loadGame(id: string): Promise; exitGame(): Promise; continueGame(): Promise; } export {};