ClientForOptionstypeno test imports ittype ClientForOptions = {
/** The caller's environment: where the token is read from, and nowhere else. */
readonly … (1097 characters)
type ClientForOptions = {
/** The caller's environment: where the token is read from, and nowhere else. */
readonly env: Readonly<Record<string, string | undefined>>;
/** How requests are sent; the live transport (with backoff, and a credential allowed only where a token is given) by default. */
readonly transport?: Transport;
/** For a plain Git remote: where it is asked from and where a clone is. */
readonly plain?: PlainGitOptions;
/**
* The hosts, besides `github.com` and `gitlab.com`, that may be sent a token: those the manifest names (a self-managed GitLab, GitHub Enterprise Server). A host not here is asked with no
* credential, so that an environment's token is never sent to a host nobody named.
*/
readonly trustedHosts?: readonly string[];
/** The base URL of a self-managed GitLab, where the reference's host is not `gitlab.com` and is not served over `https://<host>`. */
readonly gitlabBaseUrl?: string;
/** The API's base URL of a GitHub Enterprise Server host, where it is not `https://<host>/api/v3`. */
readonly githubApiBase?: string;
};What clientFor reads and uses.