import { AxiosError, AxiosResponse, AxiosRequestConfig } from 'axios'; import { Config } from '../common-types'; export declare const fetch: ({ anonymous, body, config, method, pathname, debugName }: { anonymous?: boolean | undefined; body?: any; config: Config; pathname: string; method?: string | undefined; debugName?: string | undefined; }) => Promise; export declare const debugAxiosResponse: (options: AxiosRequestConfig, debugName: string, response: AxiosResponse) => void; export declare const debugAxiosError: (options: AxiosRequestConfig, debugName: string, error: AxiosError) => void;