\declaretheorem[style=foo, name=bar]{baz}