import { ElementRef, EventEmitter, OnInit, AfterViewInit } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { INSNumericTextBoxSetting } from './interfaces';
import { NSBaseComponent } from '../ns-base';
import * as i0 from "@angular/core";
declare var NSNumericTextBox: any;
export interface INSNumericTextBoxAngularSetting extends INSNumericTextBoxSetting {
    setting?: INSNumericTextBoxSetting;
    [propName: string]: any;
}
export declare class NSNumericTextBoxAngular extends NSBaseComponent<typeof NSNumericTextBox> implements OnInit, AfterViewInit, ControlValueAccessor {
    set setting(value: INSNumericTextBoxAngularSetting | null | undefined);
    get setting(): INSNumericTextBoxAngularSetting | null | undefined;
    private __input;
    disabled: boolean;
    __setting: INSNumericTextBoxAngularSetting | undefined | null;
    modelChanged: EventEmitter<any>;
    formatValueChanged: EventEmitter<any>;
    spin: EventEmitter<any>;
    valueChanged: EventEmitter<any>;
    private __onChange;
    private __onTouch;
    private __pendingValue;
    constructor();
    ngOnInit(): void;
    ngAfterViewInit(): void;
    writeValue(value: any): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    getTextBox(): ElementRef;
    setValue(text: any, fireEvent: boolean): void;
    getValue(): number;
    getFormattedValue(): string;
    setTheme(theme: string): void;
    protected eventListener(event: any, eventName: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<NSNumericTextBoxAngular, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<NSNumericTextBoxAngular, "ns-numeric-textbox-angular", never, { "setting": { "alias": "setting"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "__setting": { "alias": "__setting"; "required": false; }; }, { "modelChanged": "modelChanged"; "formatValueChanged": "formatValueChanged"; "spin": "spin"; "valueChanged": "valueChanged"; }, never, never, false, never>;
}
export {};
