import { Method } from 'axios'; /** * @param path The function will use `${apiEndpoint}/${path}` as the request url, unless `path` starts with `http` */ export declare function request(this: any, method: Method, path: string, data?: any): Promise;