import { Net } from "@newSdk/service/nets/Net";
import { AxiosRequestConfig, AxiosResponse } from "axios";
import { ResponseItems } from "@newSdk/model/types";
import { NewClient } from "ts-streamclient-browser";
export declare const handle401: (netInfo: Net, execDelegate401?: boolean) => void;
export interface CustomAxiosRequestConfig extends AxiosRequestConfig {
    noErrorTip?: boolean;
}
type Client = ReturnType<typeof NewClient>;
export declare const getClient: (baseUrl: string) => import("ts-streamclient-base").Client;
export declare const createAxiosInstance: (client: Client, headersMap: Map<string, any>, config: CustomAxiosRequestConfig, baseUrl: string) => Promise<unknown>;
export declare const getHeaderMap: (url: string, baseUrl: string) => Promise<Map<any, any>>;
export declare function imAxios<T = any>(params: CustomAxiosRequestConfig): Promise<T>;
export declare function sdkAxios<T = any>(params: CustomAxiosRequestConfig): Promise<T>;
export declare function momentAxios(params: CustomAxiosRequestConfig): Promise<unknown>;
export declare function miniAppAxios(params: CustomAxiosRequestConfig): Promise<unknown>;
export declare function bbPaymentAxios<T>(params: AxiosRequestConfig): Promise<AxiosResponse<ResponseItems<T>>>;
export {};
