import * as i0 from '@angular/core'; import { ElementRef, OnInit, OnChanges, DoCheck, AfterContentInit, ChangeDetectorRef, EventEmitter, SimpleChanges } from '@angular/core'; import { NgControl, NgForm, FormGroupDirective } from '@angular/forms'; import * as i1 from '@usitsdasdesign/dds-ng/core/focus-handler'; import { DestroyCtor, I18nCtor, FormAccessorCtor, ErrorStateCtor } from '@usitsdasdesign/dds-ng/core/common-behaviors'; import { ThemeClassesMap } from '@usitsdasdesign/dds-ng/core/theme'; import { Size, LabelPosition, ThousandSeparators, DecimalMarkers, ErrorState } from '@usitsdasdesign/dds-ng/shared'; import { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config'; import { I18nService, ITranslation } from '@usitsdasdesign/dds-ng/shared/i18n'; import { IConfig } from 'ngx-mask'; declare class NumberInputFieldDirective { ngControl: NgControl; parentForm: NgForm; parentFormGroup: FormGroupDirective; elementRef: ElementRef; inputField: boolean; constructor(ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, elementRef: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare const NumberInputBase: DestroyCtor & I18nCtor & FormAccessorCtor & ErrorStateCtor; declare class NumberInputComponent extends NumberInputBase implements OnInit, OnChanges, DoCheck, AfterContentInit { ngControl: NgControl; parentForm: NgForm; parentFormGroup: FormGroupDirective; cdr: ChangeDetectorRef; i18n: I18nService; private ddsConfig; disabled: boolean | undefined; isEmptyValue: boolean; label: string | undefined; ariaLabel: string | undefined; errorMessage: string | undefined; prefix: string | undefined; suffix: string | undefined; customClass: string | undefined; increaseIcon: string | undefined; decreaseIcon: string | undefined; placeholder: string | undefined; size: Size | string | undefined; labelPosition: LabelPosition | string | undefined; thousandSeparator: ThousandSeparators | string | undefined; decimalMarker: DecimalMarkers | IConfig['decimalMarker'] | string | undefined; decimalCount: number | undefined; errorState: ErrorState | string | undefined; isError: boolean | undefined; isInverse: boolean | undefined; hasOnlyPositiveValues: boolean | undefined; step: number | undefined; min: number | undefined; max: number | undefined; isRequired: boolean | undefined; isStrictMode: boolean | undefined; readonly: boolean | undefined; set value(value: number | undefined); get value(): number | undefined; valueChanged: EventEmitter; numberInput: ElementRef; inputFieldExternal: NumberInputFieldDirective; themeConfig: ThemeClassesMap; isExternalLabel: boolean; isMaxValue: boolean; isMinValue: boolean; _value: number; defaultPlaceholder: string; mask: string; arrowUpAriaLabel: string; arrowDownAriaLabel: string; minValueAriaDesc: string; maxValueAriaDesc: string; get ariaLabelValue(): string; get ariaDescriptionValue(): string; get isErrorState(): boolean; constructor(ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, cdr: ChangeDetectorRef, i18n: I18nService, ddsConfig: DdsConfigService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngDoCheck(): void; ngAfterContentInit(): void; onKeyDown(event: KeyboardEvent): void; changeNumberInput(increment: boolean, keyboardBtn?: KeyboardEvent): void; onInput(): void; changeHandle(value: number, fromInput?: boolean): void; writeValue(value: number): void; setDisabledState(disabled: boolean): void; reset(): void; blur(): void; private inputIsEmpty; private updValue; private getNotNullValue; protected setI18nTexts(translation: ITranslation): void; private setAriaAttr; private getAmountKeyShortcuts; private setIsMinMaxValues; private checkIsEmpty; private checkLabelPosition; private validateValue; private validateMinMax; private setDataFromExternalInput; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NumberInputModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface NumberInputOptions { label?: string; ariaLabel?: string; errorMessage?: string; size?: Size | string; labelPosition?: LabelPosition | string; placeholder?: string; increaseIcon?: string; decreaseIcon?: string; prefix?: string; suffix?: string; customClass?: string; thousandSeparator?: ThousandSeparators | string; decimalMarker?: DecimalMarkers | '.' | ','; decimalCount?: number; isError?: boolean; errorState?: ErrorState | string; hasOnlyPositiveValues?: boolean; min?: number; max?: number; step?: number; value?: number; disabled?: boolean; isRequired?: boolean; isInverse?: boolean; isStrictMode?: boolean; readonly?: boolean; } export { NumberInputComponent, NumberInputFieldDirective, NumberInputModule }; export type { NumberInputOptions };