import { IGame, GameRenderState } from '../types';
export declare class MinesweeperGame implements IGame {
    readonly name = "Minesweeper";
    private panelWidth;
    private panelHeight;
    private cols;
    private rows;
    private grid;
    private cursorX;
    private cursorY;
    private mineCount;
    private flagCount;
    private revealedCount;
    private _paused;
    private _gameOver;
    private _won;
    private firstMove;
    private elapsedMs;
    init(width: number, height: number): void;
    tick(deltaMs: number): void;
    handleInput(key: string): void;
    getState(): GameRenderState;
    resize(width: number, height: number): void;
    isPaused(): boolean;
    pause(): void;
    resume(): void;
    isGameOver(): boolean;
    reset(): void;
    private computeGridSize;
    private initGrid;
    private placeMines;
    private reveal;
    private floodReveal;
    private toggleFlag;
    private checkWin;
    private forEachNeighbor;
}
