Move type definition to common repository Bug: 146387750 Change-Id: I4379c9dcfe989bc75e5ffe87afcda9f57342de7e