export interface VariantComparisonFilters {
  product_id?: number;
  product_sku?: string;
  variant_color?: string;
  variant_size?: string;
  enabled?: boolean;
  min_stock?: number;
  max_stock?: number;
  has_stock?: boolean;
  min_fee_difference?: number;
  max_fee_difference?: number;
  limit?: number;
  offset?: number;
}

export interface VariantComparisonItem {
  variant_id: number;
  product_sku: string | null;
  product_name: string;
  variant_size: string | null;
  variant_color: string | null;
  weight: number;
  fee_percentage: number;
  factory_fee_percentage: number;
  stock_number: number;
  fee_difference: number;
  image_url: string | null;
  thumbnail_url: string | null;
}

export interface VariantComparisonSummary {
  total_variants: number;
  total_stock_quantity: number;
  average_fee_percentage: number;
  average_factory_fee_percentage: number;
  average_fee_difference: number;
  variants_with_higher_fee: number;
  variants_with_lower_fee: number;
  variants_with_equal_fee: number;
  max_fee_difference: number;
  min_fee_difference: number;
  total_weight: number;
  average_weight: number;
}

export interface VariantComparisonResponse {
  variants: VariantComparisonItem[];
  summary: VariantComparisonSummary;
  total: number;
  has_more: boolean;
  limit: number;
  offset: number;
}
