import type { BoxSliderOptions, Effect, SliderEventListenerMap, SliderEventType } from './types'; export declare const defaultOptions: BoxSliderOptions; export declare class BoxSlider { private _activeIndex; private _el?; private _effect?; private _stateStore?; private options; private slides; private autoScrollTimer?; private eventListeners; private isDestroyed; private transitionQueue; private progressiveTransitionInProgress; private elListeners; private touchStartX; private touchStartY; private touchStartTime; private isTouchTracking; private touchDirection; private touchProgressiveController; private isPerpendicularScroll; private pauseOnHoverWasPlaying; /** * The currently active slide index */ get activeIndex(): number; /** * The slider element */ get el(): HTMLElement; /** * The number of slides in the slider */ get length(): number; /** * Return the value of a option at key */ getOption(key: T): BoxSliderOptions[T]; private get stateStore(); private get effect(); constructor(el: HTMLElement, effect: Effect, options?: Partial); /** * Reset the slider with optional new settings and effect */ reset(options?: Partial, effect?: Effect): void; /** * Show the next slide. If the slider is at the last slide and loop is disabled * then the slider will not advance back to the first slide. */ next(): Promise; /** * Show the previous slide. If the slider is at the first slide and loop is disabled * then the slider will not advance back to the last slide. */ prev(): Promise; /** * Skip to a specific slide index */ skipTo(nextIndex: number, backwards?: boolean): Promise; /** * Pause the slider from auto scrolling */ pause(): BoxSlider; /** * Start the slider auto scrolling */ play(): BoxSlider; /** * Add an event listener for a slider event */ addEventListener(ev: T, callback: SliderEventListenerMap[T]): BoxSlider; /** * Remove an event listener for a slider event. The listener * must be the original function passed to addEventListener */ removeEventListener(ev: T, callback: SliderEventListenerMap[T]): BoxSlider; /** * Destroy the slider, remove all event listeners and attributes */ destroy(): void; private init; private addAriaAttributes; private getSlides; private addElListener; private removeEventListeners; private applyEventListeners; private handlePointerEnter; private handlePointerLeave; private handleTouchStart; private handleTouchMove; private handleTouchEnd; private handleTouchCancel; private cleanupTouch; private prepareProgressiveTransition; private transitionTo; private stopAutoScroll; private emit; private emitProgress; private setAutoScroll; } export default BoxSlider;