PermissionLogController, a controller in the extension, is written in JavaScript. We need to copy over the code, converting it to TypeScript along the way. We want to copy over the tests as well (taking care not to refactor them yet).
To decide: This controller can either be located in @metamask/permission-controller (since it's related to permissions) or we can create a new package.