/** * dsh-widgets — the card renderer. * * Moved verbatim out of components.tsx (Phase 3.5/3.6). `CardBody` is the one place * that turns a widget's `WidgetRenderOut` DATA into pixels: the head slots * (title / headRight / headAfter / legend / meter), the body (value / sub / chart / * rich), the corner button and the whole-card cycle. Charts are drawn by * `renderChart` (see render/charts/registry.ts); the loading skeleton and the action * buttons live here because they are part of the same layout contract. */ import * as React from 'react'; import type { WidgetRenderOut } from '../lib/contract/types'; export declare function CardBody({ out, unit, width, squircle, cornerPercent, pinBox, onAction, onCycle }: { out: WidgetRenderOut; unit: number; width?: number; squircle?: boolean; cornerPercent?: number; pinBox?: boolean; onAction?: (id: string) => void; onCycle?: (out: WidgetRenderOut) => void; }): React.ReactElement;