export = API; declare class API { constructor(host: any); host: any; apiCall: (method: any) => (url?: string, options?: {}) => Promise; post: (url?: string, options?: {}) => Promise; get: (url?: string, options?: {}) => Promise; patch: (url?: string, options?: {}) => Promise; del: (url?: string, options?: {}) => Promise; put: (url?: string, options?: {}) => Promise; }