import type { HTMLButtonAttributes } from 'svelte/elements'; import type { Snippet } from 'svelte'; type StatusTone = 'ok' | 'amber' | 'cyan' | 'danger' | 'off'; type PopoverAlign = 'left' | 'right'; interface Props extends HTMLButtonAttributes { /** Status tone โ€” drives the LED colour and (for non-ok tones) the label + border. @default 'ok' */ tone?: StatusTone; /** Pill label text โ€” rendered uppercase mono. */ label: string; /** Optional ` ยท ` suffix after the label, in faint ink. */ detail?: string; /** Whether the LED blinks. Forwarded to Led. @default false */ blink?: boolean; /** Detail panel contents โ€” a Snippet (D43). When absent, clicking does not open a Popover. */ children?: Snippet; /** Popover edge alignment, forwarded to Popover. @default 'right' */ align?: PopoverAlign; /** Popover panel width, forwarded to Popover. @default 300 */ width?: number | string; /** Polymorphic trigger element. @default 'button' */ as?: string; [key: string]: unknown; } declare const StatusPill: import("svelte").Component; type StatusPill = ReturnType; export default StatusPill;