Instead of a `declare` that has `true|false`, we should have an option for deciding an emit "mode", that can be `'declare'|'export'`.