import { ElementRef, EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; /** * the original 'singClickOutSide' also catches mouseup after drag and trigger click * meaning if the use copy something and the mouse leave the box it will trigger click outside * this solution capture mousedown and compare the location on mouse up if the different it will not trigger click * meaning the user did not 'drag' the mouse * https://stackoverflow.com/questions/6042202/how-to-distinguish-mouse-click-and-drag#answer-59741870 */ export declare class SingClickOutSideNoDragDirective { private elementRef; private mouseDownX; private mouseDownY; mouseDistanceThresholdPx: number; singClickOutSideNoDragActive: boolean; clickOutSide: EventEmitter; constructor(elementRef: ElementRef); handleMouseDown(event: MouseEvent): void; handleMouseUp(event: MouseEvent): void; private isMouseDragged; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } //# sourceMappingURL=click-out-side-no-drag.directive.d.ts.map