export interface SuperRequest { get: (path: any, options?: Record) => Promise; post: (path: any, data?: Record | string, options?: Record) => Promise; put: (path: any, data?: Record | string, options?: Record) => Promise; patch: (path: any, data?: Record | string, options?: Record) => Promise; delete: (path: any, options?: Record) => Promise; head: (path: any, options?: Record) => Promise; options: (path: any, options?: Record) => Promise; } export interface SuperRequestSuccess { statusCode: number; statusMessage: string; headers: Record; data: any; } export interface SuperRequestError { response: SuperRequestSuccess; }