Using variables returned from an export function

Absolutely!
In the editor, the err and says:
"Property ‘items’ does not exist on type 'Promise