import { AxiosRequestConfig, AxiosResponse } from 'axios'; export type RequestResponse = AxiosResponse; declare const instance: import("axios").AxiosInstance; /** * apollo client endpoint */ export declare const ApolloGQLClientDevEndpoint: string; export declare const ApolloGQLClientEndpoint: string; export declare const ApolloMessageGQLClientDevEndpoint: string; export declare const ApolloMessageGQLClientEndpoint: string; export declare const kStaticServerEndPoint: string; /** * @author https://www.showdoc.com.cn/p/2b142f133b5070f99977a503112b0d85 */ export declare const DODO_BUSINESS_BACKEND_API_URL: string; /** * price-api */ export declare const DODO_PRICE_BACKEND_API_URL: string; /** * route-api */ /** 新的网关 */ /** * 不收费路由正式链接 * @deprecated */ export declare const ROUTE_API_URL: string; /** * 不收费路由测试链接 * @deprecated */ export declare const ROUTE_API_URL_DEV: string; /** 收费路由正式链接 */ export declare const ROUTE_API_URL_V2: string; /** 收费路由测试链接 */ export declare const ROUTE_API_URL_DEV_V2: string; /** * 询价接口改造 * route-api 不再需要区分不同的接口地址,服务器端会自动分流 * @see https://www.notion.so/dodotopia/802328f5601f49c0821076473bc2982d?pvs=4 */ export declare const ROUTE_API_URL_V3: string; export declare const ROUTE_API_URL_DEV_V3: string; /** algolia 搜索服务 */ export declare const ALGOLIA_SEARCH_URL: string; export declare const ALGOLIA_SEARCH_URL_DEV: string; /** * mixpanel */ export declare const MixpanelProxyURLDev: string; export declare const MixpanelProxyURL: string; /** * gateway dashboard */ export declare const GatewayDashboardURLDev: string; export declare const GatewayDashboardURL: string; /** * gateway dashboard-config-center */ export declare const CONFIG_CENTER_URL: string; /** * upload image */ export declare const UPLOAD_IMAGE_URL: string; /** * api */ export declare const API_URL: string; export declare const TOKEN_LOGO_URL: string; /** * 又一个后端接口? * 目前用于限价单提交订单和查看订单 * @deprecated */ export declare const ORDER_API_URL: string; /** * ORDER_API_URL 对应的后端返回的 message 类型 * * message: { * title: "", // i18n key 表示弹窗标题 * desc: "" i18n key 弹窗引导语 * } */ export declare const ORDER_API_MESSAGE_MAP: Record; interface Config { timeout?: number; /** 中断回调 */ setAbort?: (abort: () => void) => void; } interface Props { url: string; params?: any; config?: Config & Pick; } export declare const get: (options: Props) => Promise; export declare const post: (options: Props) => Promise; export default instance; //# sourceMappingURL=request.d.ts.map