synchronization listeners

Are there any APIs I could use to listen to the synchronization between the local workspace and the repository, e.g. checking in code, sharing files? Another example is listening to users' delivering &amp; checking in code in the pending changes view.