export type HealthResponse = {
  status: string;
  service: string;
  version: string;
};

export type CapabilitiesResponse = {
  phase: string;
  version: string;
  commercial_product: string;
  features: Record<string, boolean>;
  page_types?: string[];
  component_kinds?: string[];
};

export type MetricsResponse = {
  phase: string;
  note?: string;
  metrics?: Record<string, number>;
};

export type ListParams = Record<string, string | number | boolean | undefined | null>;

export type PaginatedList<T> = {
  items: T[];
  total: number;
  page?: number;
  page_size?: number;
};

export type ExperiencePortalId = "studio";

export type PhaseGateConfig = {
  feature: string;
  phase: string;
  title: string;
  description: string;
};
