/// <reference types="react" />
import { ActivePiece, BlockValue, ColumnIndex, Grid, RowIndex } from 'nes-tetris-representation';
import './representation.css';
import { BlockProps } from './block';
declare type GetBlockFunction = (row: RowIndex, column: ColumnIndex, value: BlockValue) => Partial<BlockProps>;
interface TetrisGridProps {
    grid: Grid;
    beforeGrid?: Grid | null;
    possiblePiece?: ActivePiece;
    getBlockProps?: GetBlockFunction;
    blockSizeInRem?: number;
    onClick?: () => void;
    onMouseLeave?: () => void;
    className?: string;
    hideTopTwoRows?: boolean;
    transparentEmptyBlocks?: boolean;
}
export declare function TetrisGrid({ grid, beforeGrid, possiblePiece, blockSizeInRem, onClick, onMouseLeave, getBlockProps, hideTopTwoRows, transparentEmptyBlocks, className, }: TetrisGridProps): JSX.Element;
export {};
