How to export PowerShell variables from binary modules?

You can do that easily from script modules using the Export-ModuleMember cmdlet, but how can I do that from binary modules (e.g. C#)?