import { ElementRef } from '@angular/core'; import { NgControl } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class ExpiryFormatDirective { private el; private control; private target; constructor(el: ElementRef, control: NgControl); /** * Updates the value to target element, or FormControl if exists. * @param value New input value. */ private updateValue; onKeypress(e: KeyboardEvent): boolean; onKeydown(e: KeyboardEvent): void; onChange(): void; onInput(): void; private formatExpiry; private formatForwardSlashAndSpace; private formatForwardExpiry; private formatBackExpiry; private reformatExpiry; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }