import { OnDestroy, OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { PaginationModel, Product, ProductInterestEntryRelation, ProductInterestSearchResult, ProductService, TranslationService, UserInterestsService } from '@spartacus/core'; import * as i0 from "@angular/core"; interface ProductInterestSearchResultUI extends ProductInterestSearchResult { results?: (ProductInterestEntryRelation & { product$?: Observable; })[]; } export declare class MyInterestsComponent implements OnInit, OnDestroy { private productInterestService; private translationService; private productService; private DEFAULT_PAGE_SIZE; private sortMapping; sort: string; sortOptions: { code: string; selected: boolean; }[]; pagination: PaginationModel; interests$: Observable; isRemoveDisabled$: Observable; getInterestsloading$: Observable; sortLabels: Observable<{ byNameAsc: string; byNameDesc: string; }>; constructor(productInterestService: UserInterestsService, translationService: TranslationService, productService: ProductService); ngOnInit(): void; private getSortLabels; private getProduct; removeInterest(relation: ProductInterestEntryRelation & { product$?: Observable; }): void; sortChange(sort: string): void; pageChange(page: number): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};