The annotation itself, not a mention in a comment ("type-only, no @NitroModule").
bool declaresNitroModule(String source) => RegExp(r'^\s*@NitroModule\s*\(', multiLine: true).hasMatch(source);