import { ElementRef, EventEmitter, OnInit, OnDestroy } from '@angular/core'; import { UploadOutput, UploadInput, UploaderOptions } from '../model/index'; import { FFileUploaderService } from '../service/index'; import { Subscription } from 'rxjs'; export declare class FFileDropDirective implements OnInit, OnDestroy { elementRef: ElementRef; private upload; private tDisabled; disabled: boolean; options: UploaderOptions; uploadedCount: any; uploadInput: EventEmitter; uploadOutput: EventEmitter; el: HTMLInputElement; _sub: Subscription[]; dropListener: any; dragOverListener: any; dragLeaveListener: any; dragEnterListener: any; constructor(elementRef: ElementRef, upload: FFileUploaderService); ngOnInit(): void; ngOnDestroy(): void; private bindDragAndDropEvent; private unbindDragAndDropEvent; onDropEnter: (e: Event) => void; onDrop(e: any): void; onDragOver(e: Event): void; onDragLeave(e: Event): void; /** * 重置 */ reset(): void; }