How to declare a new product type?

See the Configurable product type declaration as an example:

See also: