import * as i0 from '@angular/core'; import { OnInit, OnDestroy } from '@angular/core'; /** * Drag 指令名称 * @selector x-drag * @decorator directive */ declare const XDragPrefix = "x-drag"; /** * Resizable Property */ declare class XDragProperty { readonly dragStarted: i0.OutputEmitterRef; readonly dragMoved: i0.OutputEmitterRef; readonly dragEnded: i0.OutputEmitterRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } interface XDragDistance { x: number; y: number; } interface XDragDistanceOffset extends XDragDistance { offsetX: number; offsetY: number; } declare class XDragDirective extends XDragProperty implements OnInit, OnDestroy { private unSubject; private doc; private elementRef; private renderer; ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class XDragModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { XDragDirective, XDragModule, XDragPrefix, XDragProperty }; export type { XDragDistance, XDragDistanceOffset };