import { MaterialItem, Polyomino } from '@gamepark/rules-api'; import { ItemContext } from '../../../locators'; import { ComponentDescription } from '../ComponentDescription'; import { SoundKit } from '../sound'; import { FlatMaterialDescription } from './FlatMaterial'; export declare abstract class PolyominoDescription

extends FlatMaterialDescription { /** Tiles are punched out of cardboard. Override it with the sound the tile should make. */ soundKit: SoundKit; /** * The shape of the polyomino (use getPolyomino if it varies depending on the item) * IMPORTANT: all falsy values (0, null...) are considered as blank square. */ polyomino: Polyomino; /** * This function must return the shape of the polyomino, as a Matrix. * IMPORTANT: all falsy values (0, null...) are considered as blank square. * @param _item Item * @param _context Context of the item * @returns Matrix representing the polyomino. Falsy values will be considered as blank spots */ getPolyomino(_item: MaterialItem, _context: ItemContext): Polyomino; } export declare function isPolyominoDescription

(description: ComponentDescription): description is PolyominoDescription;