rcs-sdk
Version:
封装客户端与平台间的相互调用功能。
11 lines (10 loc) • 526 B
TypeScript
import { SdkResult } from '../types';
import { RequestFunc } from '../constants';
import request from './request';
export declare function inBrowser(): boolean;
export declare function newSdkResult(event: RequestFunc, data?: any, errCode?: number, errMsg?: string, operationID?: string): SdkResult;
export declare function runAsMock(name: string): boolean;
export declare function uuid(): string;
export declare function hostUrl(): string;
export declare function getMockData(filepath: any): Promise<any>;
export { request };