import type { Snippet } from 'svelte'; interface WidgetCanvasProps { /** Board width in px (modo scroll + fixed; en auto se redondea a celdas) */ width?: number; /** Board height in px (modo scroll + fixed; en auto se redondea a celdas) */ height?: number; /** Altura visible del viewport (ignored when `fill` is true) */ viewportHeight?: number; /** Fill parent height instead of fixed viewportHeight */ fill?: boolean; /** scroll = tablero grande ยท fit/fullscreen = sin scroll */ mode?: 'scroll' | 'fit' | 'fullscreen'; showGrid?: boolean; snap?: boolean; cellSize?: number; /** Auto: calcula cellSize para `autoCells` visibles en el viewport */ cellSizeMode?: 'fixed' | 'auto'; autoCells?: number; controls?: boolean; class?: string; children?: Snippet; } declare const WidgetCanvas: import("svelte").Component; type WidgetCanvas = ReturnType; export default WidgetCanvas;