What Did the Monroe Doctrine Declare?

The Monroe Doctrine basically said to all of the rest of the world, that the United States was no longer up for colonization and if Europe agreed, then the US wouldn’t interfere in their affairs.