UNPKG

@openim/client-sdk

Version:

JavaScript/TypeScript Client SDK for OpenIM

12 lines (11 loc) 308 B
import { AppPlatform } from '../types/enum'; type AdaptMethod = 'POST' | 'GET'; interface AdaptReq { url: string; data: unknown; platform: AppPlatform; headers: Record<string, string>; method?: AdaptMethod; } export declare const adaptRequest: (req: AdaptReq) => Promise<any>; export {};