import '@material/web/icon/icon.js'; import { LitElement } from 'lit'; /** * A catalog card's picture cell: the picture shown whole on the card's plate, a quiet icon when there is none, and at * most one marker in the top-left corner. Board, player, template and figure cards draw it (ADR-0117 amendment * 2026-10-13), so a card catalog reads the same in every product. * * ## Why an element * * ox-grist's CARD mode draws the picture column through its `record.renderer`, whose output lands inside * `ox-card-field`'s shadow root - a page's stylesheet does not reach it. The cell carries its own styles here. * * - `src`: the picture. Shown with `contain`, never cropped: wide dashboards, tall towers and small popups all sit * whole on the plate (`--data-card-thumbnail-background`), so a row of cards lines up. * - `icon`: drawn when there is no picture; a slot named `empty` replaces it (a figure's own mark). * - `badge` and `tone`: the one thing the card has to say before it is opened (draft, not latest, cannot be read). * Nothing is said for the usual state. `tone` is `plain`, `warn` or `crit`. * - The default slot is laid over the picture for an action that belongs to it (a figure catalog's delete). */ export declare class OxCardThumb extends LitElement { static styles: import("lit").CSSResult; src?: string; alt: string; icon: string; badge?: string; tone: 'plain' | 'warn' | 'crit'; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ox-card-thumb': OxCardThumb; } }