[feature] export constant to lua