import * as _angular_core from '@angular/core'; import { ElementRef, OnDestroy, AfterViewInit, OnChanges, AfterViewChecked, QueryList } from '@angular/core'; declare class DragScrollItemDirective { display: string; dragDisabled: _angular_core.InputSignal; elementRef: ElementRef; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class DragScrollComponent implements OnDestroy, AfterViewInit, OnChanges, AfterViewChecked { private _index; private _isDragging; private _onMouseMoveListener; private _onMouseUpListener; private _onMouseDownListener; private _onScrollListener; private _onDragStartListener; /** * Is the user currently pressing the element */ isPressed: boolean; /** * Is the user currently scrolling the element */ isScrolling: boolean; scrollTimer: number | NodeJS.Timer; scrollToTimer: number | NodeJS.Timer; /** * Is the user currently dragging the element */ get isDragging(): boolean; /** * The x coordinates on the element */ downX: number; /** * The y coordinates on the element */ downY: number; displayType: string | null; elWidth: string | null; elHeight: string | null; /** * The parentNode of carousel Element */ parentNode: HTMLElement; /** * The carousel Element */ _contentRef: ElementRef; _children: QueryList; _pointerEvents: string; wrapper: HTMLDivElement | null; scrollbarWidth: string | null; get currIndex(): number; set currIndex(value: number); isAnimating: boolean; prevChildrenLength: number; indexBound: number; rtl: boolean; dsInitialized: _angular_core.OutputEmitterRef; indexChanged: _angular_core.OutputEmitterRef; reachesLeftBound: _angular_core.OutputEmitterRef; reachesRightBound: _angular_core.OutputEmitterRef; snapAnimationFinished: _angular_core.OutputEmitterRef; dragStart: _angular_core.OutputEmitterRef; dragEnd: _angular_core.OutputEmitterRef; /** * Whether the scrollbar is hidden */ scrollbarHidden: _angular_core.InputSignal; /** * Whether horizontally and vertically draging and scrolling is be disabled */ disabled: _angular_core.InputSignal; /** * Whether horizontally dragging and scrolling is be disabled */ xDisabled: _angular_core.InputSignal; /** * Whether vertically dragging and scrolling events is disabled */ yDisabled: _angular_core.InputSignal; /** * Whether scrolling horizontally with mouse wheel is enabled */ xWheelEnabled: _angular_core.InputSignal; dragDisabled: _angular_core.InputSignal; snapDisabled: _angular_core.InputSignal; snapOffset: _angular_core.InputSignal; snapDuration: _angular_core.InputSignal; private _elementRef; private _renderer; private _document; constructor(); ngOnChanges(): void; ngAfterViewInit(): void; ngAfterViewChecked(): void; ngOnDestroy(): void; onMouseMoveHandler(event: MouseEvent): void; onMouseMove(event: MouseEvent): void; onMouseDownHandler(event: MouseEvent): void; onScrollHandler(): void; onMouseUpHandler(): void; moveLeft(): void; moveRight(): void; moveTo(index: number): void; checkNavStatus(): void; onWheel(event: WheelEvent): void; onWindowResize(): void; private _setIsDragging; private _startGlobalListening; private stopGlobalListening; private disableScroll; private enableScroll; private hideScrollbar; private showScrollbar; private checkScrollbar; private setScrollBar; private getScrollbarWidth; private refreshWrapperDimensions; private scrollTo; private locateCurrentIndex; private currentChildWidth; private toChildrenLocation; private locateDragScrollItem; private markElDimension; private maximumIndex; private isScrollReachesRightEnd; /** * adds a margin right style to the last child element which will resolve the issue * of last item gets cutoff. */ private adjustMarginToLastChild; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface DragScrollElement extends HTMLElement { parentNode: HTMLElement; cloneNode: (deep: boolean) => HTMLDivElement; } interface DragScrollOption { disabled: boolean; snapDisabled: boolean; scrollbarHidden: boolean; yDisabled: boolean; xDisabled: boolean; nav: boolean; } export { DragScrollComponent, DragScrollItemDirective }; export type { DragScrollElement, DragScrollOption };