import { OnInit, ElementRef, ChangeDetectorRef } from '@angular/core'; import { ProductService, Product, CmsProductCarouselComponent, WindowRef } from '@spartacus/core'; import { Observable } from 'rxjs'; import { CmsComponentData } from '../../cms/components/cms-component-data'; export declare class ProductCarouselComponent implements OnInit { component: CmsComponentData; private productService; private el; private cd; items$: Observable[]>; itemSize$: Observable; activeItem: number; private window; constructor(component: CmsComponentData, productService: ProductService, winRef: WindowRef, el: ElementRef, cd: ChangeDetectorRef); ngOnInit(): void; /** * Maps the item codes from CMS component to an array of `Product` observables. */ protected setItems(): void; /** * The number of items shown in the carousel can be calculated * the standard implemenattions uses the element size to calculate * the items that fit in the carousel. * This method is called in `ngOnInit`. */ protected setItemSize(): void; prev(max: any): void; next(max: any): void; setActiveItem(newActive: number, max: number): void; }