Precommit API Docs

Following gives the downstream consumable API for precommit components.