"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getFilenameParts", {
    enumerable: true,
    get: function() {
        return getFilenameParts;
    }
});
const _extractExtension = require("./extractExtension");
const _getFileicon = require("./getFileicon");
const getFilenameParts = (filename, size, customIcon)=>{
    const extension = (0, _extractExtension.extractExtension)(filename) || '';
    const filenameWithoutExtension = filename.slice(0, -1 - (extension?.length || 0)) || '';
    const cellContentLeft = customIcon || (0, _getFileicon.getFileIcon)(extension, size);
    return {
        extension,
        filenameWithoutExtension,
        cellContentLeft,
        isVisible: true
    };
};
