export interface MarketplacePackage {
  slug: string;
  name: string;
  version: string;
  description: string;
  author: string;
  category: string;
  minimum_license_tier: string;
}

export interface PackageUpdate {
  slug: string;
  current_version: string;
  available_version: string;
  changelog: string;
}

export type PackageStatus = 'not_installed' | 'installed' | 'update_available';

export interface PackageWithStatus extends MarketplacePackage {
  status: PackageStatus;
  installed_version?: string;
  is_active?: boolean | null;
  is_pro?: boolean;
}
