import * as i0 from '@angular/core'; import { OnDestroy, AfterViewInit, OnChanges, Renderer2, NgZone, ElementRef, SimpleChanges } from '@angular/core'; import { Observable } from 'rxjs'; declare class FocusHandlerService { private document; keyup$: Observable; keydown$: Observable; mousedown$: Observable; constructor(document: Document); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FocusHandlerDirective implements OnDestroy, AfterViewInit, OnChanges { private renderer; private ngZone; private el; private focusHandlerService; focusedEl: HTMLElement | string; focusCheck: boolean; disabled: boolean; onFocus(target: EventTarget): void; private destroy; private isPrevKeyboardEvent; constructor(renderer: Renderer2, ngZone: NgZone, el: ElementRef, focusHandlerService: FocusHandlerService); ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; isFakeMousedownFromScreenReader(event: MouseEvent): boolean; disabledDir(status: boolean): void; private handleKeydown; private handleMousedown; private focus; private checkIfElementIsTarget; private addFocusedClass; private removeFocusedClass; private removeFocusOnMousedown; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class FocusHandlerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { FocusHandlerDirective, FocusHandlerModule, FocusHandlerService };