export type TabKey = 'products' | 'companies' | 'countries';

export interface Product {
  id: number;
  name: string;
  description: string;
  category: string;
  price?: number;
  company_id?: number;
}

export interface Company {
  id: number;
  company_name: string;
  description?: string;
  country?: string;
  industry?: string;
  products?: Product[];
}

export interface Country {
  iso: string;
  name: string;
  id: number;
}

export interface State {
  iso: string;
  name: string;
  country_iso: string;
}

export interface City {
  iso: string;
  name: string;
  state_iso: string;
}

export interface FilterData {
  country: { name: string; iso: string };
  state: { name: string; iso: string };
  city: { name: string; iso: string };
  industries: string[];
}
