import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; import { FileReaderError, FileReaderService } from './file-reader.service'; import * as i0 from "@angular/core"; /** * A directive that turns any html element into a file drop zone * - does not use a dynamically created input element and only reacts on file drag and drop * - adds a css class to the host element when files are being dragged over * * @export */ export declare class UiFileDropZoneDirective implements OnInit, AfterViewInit, OnDestroy { private readonly _element; protected readonly _fileReaderService: FileReaderService; disabled?: boolean; sortBy?: string; set accept(value: string | undefined); filesReceived: EventEmitter; filesLoading: EventEmitter; fileError: EventEmitter; private _accept; private _dragCount; private _dropZone?; private _destroyed$; constructor(_element: ElementRef, _fileReaderService: FileReaderService); drop(e: DragEvent): void; dragover(e: DragEvent): void; dragenter(): void; dragleave(): void; ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; protected _emitFiles(files: File[]): void; private _highlightDropZone; private _clearDropZoneHighlight; private _dragEventContainsFiles; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }