import { File, FileCode, FileJson, FileText, Folder, FolderOpen } from "lucide-react";
var EXTENSION_ICON_MAP = {
	".ts": FileCode,
	".tsx": FileCode,
	".mts": FileCode,
	".cts": FileCode,
	".js": FileCode,
	".jsx": FileCode,
	".mjs": FileCode,
	".cjs": FileCode,
	".json": FileJson,
	".jsonc": FileJson,
	".md": FileText,
	".mdx": FileText,
	".markdown": FileText,
	".yaml": FileCode,
	".yml": FileCode,
	".toml": FileCode,
	".ini": FileCode,
	".conf": FileCode,
	".config": FileCode,
	".css": FileCode,
	".scss": FileCode,
	".sass": FileCode,
	".less": FileCode,
	".html": FileCode,
	".htm": FileCode,
	".sh": FileCode,
	".bash": FileCode,
	".zsh": FileCode,
	".fish": FileCode,
	".txt": FileText,
	".log": FileText,
	".env": FileText
};
function getFileIcon(c) {
	return EXTENSION_ICON_MAP[c.includes(".") ? c.slice(c.lastIndexOf(".")).toLowerCase() : ""] ?? File;
}
function getFolderIcon(e) {
	return e ? FolderOpen : Folder;
}
export { getFileIcon, getFolderIcon };
