/**
 * `<progress-row-ui>` — Inline labeled progress row with label, progress bar, and meta text. Used for storage quotas, capacity breakdowns, usage indicators.
 *
 * @see https://ui-kit.exe.xyz/site/components/progress-row
 *
 * Type declarations generated by scripts/build/dts-codegen.mjs from
 * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
 * run `npm run build:components`, then `npm run codegen:dts` to
 * regenerate; or hand-author this file fully if rich event types are
 * needed beyond what the yaml `events:` block can express.
 */

import { UIElement } from '../../core/element.js';

export class UIProgressRow extends UIElement {
  /** Left-hand label text */
  label: string;
  /** Right-hand meta text (e.g. '32 GB', '4.2k / 10k') */
  meta: string;
  /** Progress value 0-100 (null = indeterminate; legacy -1 accepted for back-compat) */
  value: number;
  /** Color variant for the progress fill */
  variant: 'default' | 'success' | 'warning' | 'danger';
}
