#pragma once

#include <string>
#include <map>

#include "ktype.h"

enum class defmode_t { def_create, def_override, def_default };

struct defmode_result {
    bool replace;
    bool warn;
    std::string message;
};

defmode_t defmode_from_katom(katom_t type);
const defmode_result& defmode_transition(defmode_t existing, defmode_t incoming);
