import { IGame, GameRenderState } from '../types';
export declare class SnakeGame implements IGame {
    readonly name = "Snake";
    private width;
    private height;
    private snake;
    private food;
    private direction;
    private nextDirection;
    private score;
    private _paused;
    private _gameOver;
    private _won;
    private moveAccumulator;
    private moveIntervalMs;
    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 moveSnake;
    private spawnFood;
    private inBounds;
}
