import { AxiosRequestConfig } from 'axios'; declare const request: (url: string, cfg: AxiosRequestConfig) => Promise; export default request; export declare function handleShowError(e: any, defaultMsg: string): void;