/**
 * Shared types for the byoc-json-render demo catalog.
 */

export type MetricCardTrendDirection = "up" | "down" | "neutral";

export interface JsonRenderElement {
  type: string;
  props: Record<string, unknown>;
  children?: string[];
}

export interface JsonRenderSpec {
  root: string;
  elements: Record<string, JsonRenderElement>;
}
