How can I get the Post ID and Post Type within a Must Use Plugin?

How can I get the Post ID and Post Type within a Must Use Plugin?