Distributed hangfire client and server.how to share interface without exposing filter implementation to client?

I have below two interface which represents job methods which are enqueued by client.
Interface JobA
void MethodA()
Interface JobB
void MethodB()
As this interface will also be required in hangfire client to queue job, my question is how to avoid sharing JobFailedJobFilter attributes? This are not need for client and have only meaning in hangfire server? What is best way share such interface between client and server?

Please help. I just want to share interface between client and server in a different process. However, i apply filter attribute to job method. if I share interface with filter attribute, i have to share filters to client project.