import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["div"]; type $Props = { /** * Set to `true` to wrap the tile and render the decorator * @default false */ decorated?: boolean; /** * Receives the state of an `AILabel` in the decorator. */ state: import("svelte/store").Writable; decorator?: (this: void) => void; children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type TileWrapperProps = Omit<$RestProps, keyof $Props> & $Props; export default class TileWrapper extends SvelteComponentTyped< TileWrapperProps, Record, { default: Record; decorator: Record; } > {}