/// <reference types="core-js" />
import { ElementRef, AfterViewInit, EventEmitter } from '@angular/core';
import { DomHandler } from '../dom/domhandler';
import { ControlValueAccessor } from '@angular/forms';
export declare const SPINNER_VALUE_ACCESSOR: any;
export declare class Spinner implements AfterViewInit, ControlValueAccessor {
    el: ElementRef;
    domHandler: DomHandler;
    onChange: EventEmitter<any>;
    step: number;
    min: number;
    max: number;
    maxlength: number;
    size: number;
    disabled: boolean;
    readonly: boolean;
    value: number;
    onModelChange: Function;
    onModelTouched: Function;
    hoverUp: boolean;
    activeUp: boolean;
    hoverDown: boolean;
    activeDown: boolean;
    precision: number;
    timer: any;
    inputtext: any;
    constructor(el: ElementRef, domHandler: DomHandler);
    ngAfterViewInit(): void;
    repeat(interval: number, dir: number, input: HTMLInputElement): void;
    spin(dir: number, inputElement: HTMLInputElement): void;
    toFixed(value: number, precision: number): string;
    onUpButtonMousedown(event: Event, input: HTMLInputElement): void;
    onUpButtonMouseup(event: Event): void;
    onUpButtonMouseenter(event: Event): void;
    onUpButtonMouseleave(event: Event): void;
    onDownButtonMousedown(event: Event, input: HTMLInputElement): void;
    onDownButtonMouseup(event: Event): void;
    onDownButtonMouseenter(event: Event): void;
    onDownButtonMouseleave(event: Event): void;
    onInputKeydown(event: KeyboardEvent, inputElement: HTMLInputElement): void;
    onInput(event: Event, inputElement: HTMLInputElement): void;
    onBlur(inputElement: HTMLInputElement): void;
    parseValue(val: string): number;
    handleChange(event: Event): void;
    clearTimer(): void;
    writeValue(value: any): void;
    registerOnChange(fn: Function): void;
    registerOnTouched(fn: Function): void;
    setDisabledState(val: boolean): void;
}
export declare class SpinnerModule {
}
