/*
|--------------------------------------------------------------------------
| Shared Kundli Types
|--------------------------------------------------------------------------
|
| Extracted from app/free-kundli/[id]/page.tsx so the same rendering
| (tab components, table components, parsing helpers) can be reused by
| any other caller that has its own SavedKundali-shaped API response —
| e.g. a modal on the astrologer's live chat page.
*/

export type AnyObject = Record<string, any>;

export type ChartStyle = "north" | "south";

export type PlanetRow = {
  key: string;
  full_name: string;
  name?: string;
  rasi_no?: number;
  zodiac?: string;
  retro?: boolean;
  house?: number;
  global_degree?: number;
  local_degree?: number;
  pseudo_rasi?: string;
  pseudo_rasi_lord?: string;
  pseudo_nakshatra?: string;
  pseudo_nakshatra_no?: number;
  pseudo_nakshatra_pada?: number;
  pseudo_nakshatra_lord?: string;
  sub_lord?: string;
  sub_sub_lord?: string;
};

export type YoginiRow = {
  code: string;
  name: string;
  startDate: string;
  endDate: string;
};
