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

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

(description: ComponentDescription): description is PolyhexDescription;