const CSV_PREFIX = 'text/csv';
const IMAGE_PREFIX = 'image/';
const PDF_PREFIX = 'application/pdf';
const VIDEO_PREFIX = 'video/';
export const isCsv = (type) => type === CSV_PREFIX || CSV_PREFIX.includes(type);
export const isImage = (type) => type.startsWith(IMAGE_PREFIX) || IMAGE_PREFIX.includes(type);
export const isPdf = (type) => type === PDF_PREFIX || PDF_PREFIX.includes(type);
export const isVideo = (type) => type.startsWith(VIDEO_PREFIX) || VIDEO_PREFIX.includes(type);
//# sourceMappingURL=mimeType.js.map