import { OnDestroy, OnInit } from '@angular/core'; import { CartService, LanguageService, OrderHistoryService } from '../../../../services'; import { ActivatedRoute, Router } from '@angular/router'; import { Subscription } from 'rxjs'; import { Order } from '../../../../classes'; import { ToastrService } from 'ngx-toastr'; import * as i0 from "@angular/core"; export declare class OrderHistoryBaseComponent implements OnInit, OnDestroy { protected orderHistoryService: OrderHistoryService; protected languageService: LanguageService; protected cartService: CartService; protected activatedRoute: ActivatedRoute; protected router: Router; private toastrService; orders: Order[]; error: any; order: any; requestData: string; language: {}; languageSubscription: Subscription; ordersSubscription: Subscription; orderSubscription: Subscription; currentPage: number; pageLimit: number; pagesCount: number; totalItems: number; cancellationModal: any; imgUrl: any; currencyCode: string; cancelMsg: string; status: any[]; allStatus: any[]; stIndex: number; currentStatus: string; loaded: boolean; defaultImage: string; orderID: number; constructor(orderHistoryService: OrderHistoryService, languageService: LanguageService, cartService: CartService, activatedRoute: ActivatedRoute, router: Router, toastrService: ToastrService); ngOnInit(): void; loadOrders(page: number): void; pageChanged(e: any): void; openModal(id: any, orderDetialsModal: any, index: any): void; ngOnDestroy(): void; currentStatusIndex(statusCode: any): number; notCompleted(statusCode: any): boolean; getNameByCode(code: any): any; CancelRequests(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }