import { OnDestroy } from '@angular/core'; import { Order, OrderHistoryList, RoutingService, TranslationService, UserOrderService, UserReplenishmentOrderService } from '@spartacus/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; /** * @deprecated since 4.2 - use order lib instead */ export declare class OrderHistoryComponent implements OnDestroy { protected routing: RoutingService; protected userOrderService: UserOrderService; protected translation: TranslationService; protected userReplenishmentOrderService: UserReplenishmentOrderService; constructor(routing: RoutingService, userOrderService: UserOrderService, translation: TranslationService, userReplenishmentOrderService: UserReplenishmentOrderService); private PAGE_SIZE; sortType: string; orders$: Observable; hasReplenishmentOrder$: Observable; isLoaded$: Observable; /** * When "Order Return" feature is enabled, this component becomes one tab in * TabParagraphContainerComponent. This can be read from TabParagraphContainer. */ tabTitleParam$: Observable; ngOnDestroy(): void; changeSortCode(sortCode: string): void; pageChange(page: number): void; goToOrderDetail(order: Order): void; getSortLabels(): Observable<{ byDate: string; byOrderNumber: string; }>; private fetchOrders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }