import { SurfaceRenderLink } from "../Surface/type.mjs";
import { ReactNode } from "react";
//#region src/dashboard/MetricStrip/type.d.ts
interface MetricItem {
  delta?: ReactNode;
  direction?: 'up' | 'down' | 'flat';
  hint?: ReactNode;
  href?: string;
  label: ReactNode;
  /** This cell only. Cells fed by different queries arrive at different times. */
  loading?: boolean;
  onClick?: () => void;
  value: ReactNode;
  /** Color the figure when the number itself is the thing to act on. */
  valueTone?: 'danger' | 'warning';
}
interface MetricStripProps {
  items: MetricItem[];
  /** First load only: values become placeholders, labels stay. */
  loading?: boolean;
  renderLink?: SurfaceRenderLink;
}
//#endregion
export { MetricItem, MetricStripProps };
//# sourceMappingURL=type.d.mts.map