import { type ButtonProps } from '../button';
import { type BandedGaugeBand } from './banded-gauge';
export type InsertMode = 'text' | 'image' | 'text-image';
export type InsertVariant = 'insert' | 'copy';
/**
* The handful of lucide glyphs the result-card header can carry. Each maps to a
* static native-SVG geometry string in {@link ICON_GEOMETRY}, hand-transcribed
* from lucide-react 1.8.0's `__iconNode` arrays (pinned to that version so the
* paths match the on-screen React glyphs exactly). We do NOT import the lucide
* React components into the raster path — they can't be serialised into the
* `
` data-URI — so the geometry is inlined as raw `` elements.
*/
export type IconKey = 'activity' | 'scale' | 'ruler' | 'calendar' | 'calendar-heart' | 'baby' | 'heart' | 'droplets' | 'clock' | 'tag' | 'trending-up' | 'percent';
export interface InsertCardField {
label: string;
value: string;
/**
* Optional leading glyph for the row, drawn at {@link FIELD_ICON_SLOT} in
* place of the default bullet dot. One of the known {@link IconKey} names; an
* unknown / omitted value falls back to the muted bullet (fully
* back-compatible — a field without an icon renders exactly as before).
*/
icon?: IconKey;
}
/**
* Radial gauge — a hand-rolled native-SVG donut (track `` + value arc
* via `stroke-dasharray`) drawn in the card's inline-end corner box. Survives
* the `
` → `