import * as _ from "lodash"; /** * Upload a file. Pass in a valid Element which is an tag with the * type 'file' and a callback to be invoked when the data is read. */ export declare const uploadFile: (fileInputElement: HTMLInputElement, successFn: (result: any, file: File) => void) => void; export declare const loadImage: ((src: string) => Promise) & _.MemoizedFunction;