UNPKG

@bolttech/server-side-next

Version:

This library was generated with [Nx](https://nx.dev).

11 lines (10 loc) 493 B
import { Method } from 'axios'; import { TokenSetType } from '../auth'; import { GatewayServiceInterface } from '../gateway'; export declare class GatewayService implements GatewayServiceInterface { private readonly baseURL; private readonly http; constructor(baseURL?: string); sendRequest<T>(method: Method, uri: string, data?: unknown, tokenSet?: TokenSetType, headers?: Record<string, unknown>): Promise<T>; } export declare const gatewayService: GatewayService;