export type Transaction = {
  id: string;
  date: string;
  merchant: string;
  amount: number;
  account: string;
  category: string;
  cost_type: "fix" | "variabel" | string;
  necessity: "notwendig" | "freiwillig" | string;
  source?: string;
  note?: string;
  month: string;
  split?: null | { myShare: number; othersShare: number };
  trip?: string | null;
  is_internal_transfer?: boolean;
  is_refund?: boolean;
};

export type Budget = {
  category: string;
  amount: number;
  group: "Fixkosten" | "Lifestyle" | "Sparen";
};

export type Profile = {
  firstName: string;
  monthlyIncome: number;
  salaryDay: number | null;
  savingsTarget: number;
  safetyReserve: number;
};
