import { OnInit, EventEmitter, OnDestroy } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { ToastrService } from 'ngx-toastr'; import { CampaignContentCartItem, CampaignContentResponseAttribute, CardData, MultipleGiftcardCreditRedemptionSuccessResponse } from '../../contextual.types'; import { ApiService } from '../../services/api.service'; import { CommonService } from '../../services/common.service'; import { ContextualService } from '../../services/contextual.service'; import * as i0 from "@angular/core"; export declare class CartComponent implements OnInit, OnDestroy { private _contextualService; router: Router; private toastr; _commonService: CommonService; private apiService; private activatedRoute; private toastService; data: string[]; isListingPage: boolean; configs: unknown; campaignId: string; apiStatus: EventEmitter; cartResponse: EventEmitter; redemptionEvent: EventEmitter<{ res: MultipleGiftcardCreditRedemptionSuccessResponse; cartItems: CampaignContentCartItem[]; }>; initialCartResponse: EventEmitter; openCartEvent: EventEmitter; private destroy$; cartItemsArr: CampaignContentCartItem[]; cartData?: CampaignContentResponseAttribute; valueNum: number[]; progress: boolean; cartProgress: boolean; totalValue: number; loading: boolean; constructor(_contextualService: ContextualService, router: Router, toastr: ToastrService, _commonService: CommonService, apiService: ApiService, activatedRoute: ActivatedRoute, toastService: ToastrService); ngOnInit(): void; getGiftcardsInCart(id: string, isSpecialBundle?: boolean): void; otherThanNull(arr: unknown[]): boolean; pushToCart(data: CardData | string): Promise; getCountOfItems(): number; removeFromCart(): Promise; deleteFromCart(id: string): Promise; clearCart(): void; decrement(item_id: string, gift_card_id: string, denomination: number, quantity: string, recipient_type: string, name: string): void; addToCart(data: { item_id: string; item_name: string; denomination: number; quantity: number; recipient_type: string; }[]): void; toggle(): void; navigateToListing(): void; getTotalQuantity(): void; redeemCartItems(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }