Abstracts the methods that are used from OPAClient of @styra/opa.

interface OPAClient {
    evaluate<In, Res>(path: string, input?: In, opts?: RequestOptions<Res>): Promise<Res>;
    evaluateBatch<In, Res>(path: string, inputs: {
        [k: string]: In;
    }, opts?: BatchRequestOptions<Res>): Promise<{
        [k: string]: Res | ServerErrorWithStatusCode;
    }>;
    evaluateDefault<In, Res>(input?: In, opts?: RequestOptions<Res>): Promise<Res>;
}

Methods