interface APIOptions { appId?: string; } interface fetchParams { url: string; data: any; method?: 'POST' | 'GET'; headers?: any; } export default class API { private _appId; constructor(options?: APIOptions); protected fetchData(params: fetchParams): Promise; protected unwrap(result: any): Promise; } export {};