You cannot have a Cosmos program without a "declaration". At the very least you must declare the name of the module.
What's common to all declarations, is that they name something, and tells at least what kind of thing, the name is referring to. In the snippet above, a name "SomeName" is declared as being a kind of "module".
The "definition" of the module will then follow the source text declaring the module.
The terms declaration and definition are very similar to what's understood from C/C++. But the distinction is not hugely important because Cosmos doesn't need header files and doesn't need declarations and their uses to be ordered in any particular way.
The only cases where the distinction between declarations and definitions are significant is, when using precompiled libraries.
In that case, you have a Cosmos source file that basically only contain declarations, and basically no definitions. (similar to your average header file in C).
alias LogLevel = i8;
enum : LogLevel
@static @property void Level(LogLevel logging_level);
@static @property LogLevel Level();
@static void Write(LogLevel logging_level, c8 text);
That code doesn't contain a single definition, only declarations.