auth-runtime/dist/http.d.ts

6 lines
255 B
TypeScript

import type { ApiResponse, HttpMethod } from './types.js';
/**
* Make HTTP request to API
*/
export declare function requestApi(method: HttpMethod, url: string, authToken?: string, body?: string): Promise<ApiResponse>;
//# sourceMappingURL=http.d.ts.map