Define ComponentPlugin API type; add plugin-component.md.