import * as i0 from '@angular/core'; import { OnChanges, DoCheck, ChangeDetectorRef, EventEmitter, ElementRef, QueryList, NgZone, Renderer2, SimpleChanges } from '@angular/core'; import { DestroyCtor, FormAccessorCtor } from '@usitsdasdesign/dds-ng/core/common-behaviors'; import { ThousandSeparators, DecimalMarkers, Direction } from '@usitsdasdesign/dds-ng/shared'; import { IConfig } from 'ngx-mask'; interface SliderOptions { label?: string; fromAriaLabel?: string; toAriaLabel?: string; customClass?: string; min?: number; max?: number; prefix?: string; suffix?: string; isEditable?: boolean; step?: number; disabled?: boolean; isVertical?: boolean; isSegmented?: boolean; isRequired?: boolean; isInverse?: boolean; thousandSeparator?: ThousandSeparators | string; decimalMarker?: DecimalMarkers | '.' | ','; } interface SliderControl { title?: SliderType; value?: number | string; currentPos?: number; controlPos?: number; } declare enum SliderType { start = "start", end = "end" } interface DirectionStrategy { direction: Direction; pointDirection: PointDirection; sizeDirection: SizeDirection; } declare enum SizeDirection { width = "width", height = "height" } declare enum PointDirection { offsetLeft = "offsetLeft", offsetTop = "offsetTop" } declare const SliderBase: DestroyCtor & FormAccessorCtor; declare class SliderComponent extends SliderBase implements OnChanges, DoCheck { cdr: ChangeDetectorRef; private ngZone; private renderer; disabled: boolean | undefined; onResize(): void; label: string | undefined; fromAriaLabel: string | undefined; toAriaLabel: string | undefined; min: number | undefined; max: number | undefined; step: number | undefined; isEditable: boolean | undefined; isVertical: boolean | undefined; isSegmented: boolean | undefined; isInverse: boolean | undefined; customClass: string | undefined; prefix: string | undefined; suffix: string | undefined; isRequired: boolean | undefined; thousandSeparator: ThousandSeparators | string | undefined; decimalMarker: DecimalMarkers | IConfig['decimalMarker'] | string | undefined; set value(value: number | string | undefined); valueChanged: EventEmitter; wrap: ElementRef; startControl: ElementRef; endControl: ElementRef; startControlInput: ElementRef; endControlInput: ElementRef; activeLine: ElementRef; pointsRef: QueryList>; isRangeSlider: boolean; tabIndex: number; points: number[]; mask: string; startControlOptions: SliderControl; endControlOptions: SliderControl; describedById: string; private typeOfValue; private wrapStartPosition; private sliderWidth; private controlWidth; private pointWidth; private firstCheck; private firstCheckNgModel; private checkForProjection; private directionStrategy; constructor(cdr: ChangeDetectorRef, ngZone: NgZone, renderer: Renderer2); ngOnChanges(changes: SimpleChanges): void; ngDoCheck(): void; isNegativeValue(value: number | string): boolean; writeValue(value: number | string): void; setDisabledState(disabled: boolean): void; checkValueType(value: number | string): void; updateValue(control: HTMLElement, controlOptions: SliderControl): void; increaseValue(control: HTMLElement, controlOptions: SliderControl): void; decreaseValue(control: HTMLElement, controlOptions: SliderControl): void; reset(): void; onKeydown(event: KeyboardEvent, control: HTMLElement, controlOptions: SliderControl): void; getOrientation(): string; selectNotch(index: number): void; private dragging; private onMouseMove; private checkValue; private initControlsPos; private checkPosition; private startControlLimit; private endControlLimit; private minimumLimit; private maximumLimit; private noLimit; private checkActiveLinePos; private checkElementsProps; private checkPointsCount; private checkActivePoints; private controlPos; private compareValues; private fillArray; private startControlParent; private endControlParent; private checkOrientation; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SliderModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { PointDirection, SizeDirection, SliderComponent, SliderModule, SliderType }; export type { DirectionStrategy, SliderControl, SliderOptions };