type ProgressHandler = (progressEvent: any) => void;
export type FileInfo = {
    filename: string;
    fileType: string;
    bucketID?: string;
    objectId?: string;
    name?: string;
};
type ThumbInfo = {
    width: number;
    height: number;
    isBig?: boolean;
};
declare const getObjectByKey: (key: FileInfo, handler?: ProgressHandler) => Promise<any>;
declare const getThumb: (fileInfo: FileInfo, thumbInfo: ThumbInfo) => Promise<any>;
declare const getThumbBuffer: (fileInfo: FileInfo, thumbInfo: ThumbInfo, handler?: ProgressHandler) => Promise<any>;
declare const getFileObjectBuffer: (key: FileInfo, handler?: ProgressHandler) => Promise<any>;
declare const getFileObject: (key: FileInfo) => Promise<any>;
export { getThumb, getThumbBuffer, getObjectByKey, getFileObject, getFileObjectBuffer };
export default getObjectByKey;
