How to access the uncooked content from a theme component?

To get access to raw you are going to need to use a plugin.

What you can do though is use the wrap helper, that way you have a div to work with.

[wrap=test]
hello world
[/wrap]

Renders to:

<div class="d-wrap" data-wrap="test">
<p>hello world</p>
</div>