import * as Phaser from 'phaser'; import React from 'react'; import { FiberRoot } from 'react-reconciler'; export interface GameProps extends Phaser.Types.Core.GameConfig { children?: JSX.Element | JSX.Element[] | React.ReactNode; } declare class Game extends React.Component { static displayName: string; mountNode: FiberRoot; game: Phaser.Game; state: { booting: boolean; }; componentDidMount(): void; componentDidUpdate(): void; getChildren(): JSX.Element; componentDidCatch(error: any, errorInfo: any): void; componentWillUnmount(): void; render(): JSX.Element; } export default Game;