If by SDK you mean a client library to talk to remote services, we have a well established pattern (
connect) that we've been using to successfully replace SDKs (e.g. AWS) with something lighter and with the same testing properties as you get from any HttpHandler.
Now, if you're dealing with SDKs that perform other kinds of tasks (e.g. generate PDFs), you can still follow a similar (hexagonal) approach by introducing and interface and having fake + real code performing the operations you're interested in.