/** Types of attachments */ export declare enum AttachmentType { Image = 0, ImageAnimated = 1, Video = 2, Sticker = 3, Audio = 4, Document = 5, Other = 6 } /** Extract the attachment type from the extension of a filename */ export declare const getAttachmentTypeFromFileName: (filename: string) => AttachmentType; /** Extract the attachment type from a MIME type */ export declare const getAttachmentTypeFromMimeType: (mimeType: string) => AttachmentType;