Type hint ClientInterface for decorate function()