import { IGame, GameRenderState } from '../types';
export declare class Game2048 implements IGame {
    readonly name = "2048";
    private width;
    private height;
    private board;
    private score;
    private _paused;
    private _gameOver;
    private won;
    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 move;
    private slideLeft;
    private slideRight;
    private slideUp;
    private slideDown;
    /** Slide and merge a single row toward index 0. */
    private mergeRow;
    private spawnTile;
    private hasValidMoves;
    private boardSnapshot;
    private checkWin;
    private boardsEqual;
    private renderBoard;
    private renderTile;
    private renderGridLines;
}
