import { FILE_TYPE_BROWSERSAFE } from "../const.js";
const dictionary = {
    "safe-file": FILE_TYPE_BROWSERSAFE,
    "sharp-convertible-image": [
        "image/jpeg",
        "image/png",
        "image/gif",
        "image/apng",
        "image/vnd.mozilla.apng",
        "image/webp",
        "image/svg+xml",
        "image/avif"
    ]
};
export const isMimeImage = (mime, type)=>dictionary[type].includes(mime);
