export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' export interface ApiClient { setAccessToken(accessToken: string): this request( method: HttpMethod, endpoint: string, body?: TBody, headers?: Record, ): Promise get(endpoint: string, headers?: Record): Promise post( endpoint: string, body?: TBody, headers?: Record, ): Promise put( endpoint: string, body?: TBody, headers?: Record, ): Promise patch( endpoint: string, body?: TBody, headers?: Record, ): Promise delete( endpoint: string, headers?: Record, ): Promise }