import { AttachmentFile, AttachmentFileType } from './types'; export declare function getFileType(file: AttachmentFile): AttachmentFileType; export declare function isImage(file: AttachmentFile): boolean; export declare function toAttachmentFile(file: any): any;