import { IGame, GameRenderState } from './types';
export declare class GameEngine {
    private game;
    private intervalHandle;
    private lastTick;
    private readonly TICK_INTERVAL_MS;
    constructor(game: IGame);
    init(width: number, height: number): void;
    start(): void;
    stop(): void;
    handleInput(key: string): void;
    getState(): GameRenderState;
    resize(width: number, height: number): void;
    pause(): void;
    resume(): void;
    reset(): void;
    get isPaused(): boolean;
    get isGameOver(): boolean;
    get currentGame(): IGame;
}
