import { DoCheck, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { PoSlideBaseComponent } from './po-slide-base.component';
import { PoSlideContentTemplateDirective } from './directives/po-slide-content-template.directive';
import { PoSlideItem } from './interfaces/po-slide-item.interface';
/**
* @docsExtends PoSlideBaseComponent
*
* @example
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
export declare class PoSlideComponent extends PoSlideBaseComponent implements OnInit, DoCheck, OnChanges, OnDestroy {
private readonly builder;
slideContentTemplate: PoSlideContentTemplateDirective;
private readonly slide;
private readonly itemsElements;
currentSlideIndex: number;
imageHeight: number;
slideItems: Array;
slideItemWidth: number;
private isLoaded;
private player;
private setInterval;
private readonly resize$;
private resizeSubscription;
private get hasElements();
private get isImageSlide();
private get offset();
get hasSlides(): boolean;
onResize(): void;
ngOnInit(): void;
ngDoCheck(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
/**
* Método que retorna o index do slide atual
*
* ```
* @ViewChild('slideComponent', { static: true }) slideComponent: PoSlideComponent;
* myFunction() {
* let currentIndex = this.slideComponent.getCurrentSlideIndex();
* }
*
* ```
*/
getCurrentSlideIndex(): number;
goToItem(index: number): void;
nextControl(): void;
/**
* Método para chamar o próximo slide.
*
* ```
* @ViewChild('slideComponent', { static: true }) slideComponent: PoSlideComponent;
*
* myFunction() {
* this.slideComponent.next();
* }
* ```
*/
next(): void;
/**
* Método para chamar o slide anterior.
*
* ```
* @ViewChild('slideComponent', { static: true }) slideComponent: PoSlideComponent;
*
* myFunction() {
* this.slideComponent.previous();
* }
* ```
*/
previous(): void;
previousControl(): void;
setSlideHeight(height: number): void;
protected cancelInterval(): void;
protected setSlideItems(slides: Array): void;
protected startSlide(): void;
protected startInterval(): void;
private animate;
private buildTransitionAnimation;
private createArrayForTemplate;
private createArrayFromSlides;
private setDefaultHeight;
private setHeight;
private setSlideItemWidth;
}