import { ElementRef, OnChanges, SimpleChanges } from "@angular/core"; import * as i0 from "@angular/core"; export declare class DigitOnlyDirective implements OnChanges { el: ElementRef; private hasDecimalPoint; private hasNegativeSign; private navigationKeys; decimal: boolean; decimalSeparator: string; allowNegatives: boolean; allowPaste: boolean; negativeSign: string; min: number; max: number; pattern?: string | RegExp; decimalPlaces?: number; private regex; inputElement: HTMLInputElement; constructor(el: ElementRef); ngOnChanges(changes: SimpleChanges): void; onBeforeInput(e: InputEvent): any; onKeyDown(e: KeyboardEvent): any; onPaste(event: any): void; onDrop(event: DragEvent): void; private pasteData; private insertAtCursor; private triggerEvent; private sanitizeInput; private getNegativeSignRegExp; private isValidDecimal; private getSelection; private forecastValue; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }