import NileFilePreview from "../nile-file-preview";
import { RemoveFileDetail } from "../types";
export declare const generatePreviewUrl: (file: File) => Promise<string>;
export declare const removeFile: (removeFile: File, e: CustomEvent<RemoveFileDetail>, originalUrl: string) => void;
export declare const cancelFileUpload: (file: File, e: CustomEvent<RemoveFileDetail>, nileFilePreview: NileFilePreview) => void;
export declare const formatFileSize: (bytes: number) => string;
export declare const getFileType: (file: File, showFileType: boolean) => string;
export declare const truncateString: (nileFilePreview: NileFilePreview) => void;
export declare const isRealImage: (file: File) => Promise<boolean>;
