import { DragHandler } from "./drag-drop.util";
import { FileUploadState } from "../types";
import { NileFileUpload } from "../nile-file-upload";
export declare const setUpDragHandler: (nileFileUpload: NileFileUpload, dragHandler: DragHandler) => void;
export declare const addGlobalListeners: (dragHandler: DragHandler) => void;
export declare const addInternalListeners: (nileFileUpload: NileFileUpload, dragHandler: DragHandler, uploadRequests: any) => void;
export declare function handleHoverIn(setState: (state: FileUploadState) => void, currentState: FileUploadState): void;
export declare function handleHoverOut(setState: (state: FileUploadState) => void, currentState: FileUploadState): void;
export declare function uploadFiles(nileFileUpload: NileFileUpload): void;
export declare const cancelFileUpload: (nileFileUpload: NileFileUpload, uploadRequests: Map<File, XMLHttpRequest>) => void;
export declare const preventDefaultAndStopPropagation: (event: Event | DragEvent) => void;
export declare const removeFile: (uploadedFiles: File[], nileFileUpload: NileFileUpload) => void;
export declare const truncateString: (nileFileUpload: NileFileUpload) => void;
