export interface CouponPreviewPricing {
  currency: string;
  subtotal: number;
  discount: number;
  tax: number;
  total: number;
  formatted: {
    subtotal: string;
    discount: string;
    tax: string;
    total: string;
  };
  breakdown?: Array<Record<string, unknown>>;
}

export interface CouponPreviewResponse {
  coupon: {
    id: number;
    code: string;
    type?: string | null;
    amount: number;
    currency?: string | null;
    description?: string | null;
    expires_at?: string | null;
    is_stackable?: boolean;
  };
  pricing: CouponPreviewPricing;
  package: {
    id: number;
    name: string;
    price: number;
    currency: string;
  };
  source?: string;
}
