Surfacing the guardRoute api in the docs and ts.