import type { Http, HttpError, HttpOptions } from './types';
import { HttpQuery } from "./types";
/**
 * A simple http wrapper around fetcher that uses axios.
 * @see useFetcher
 *
 * @param initialUrl   the base url
 * @param initialQuery the initial query
 * @param options
 * @returns {Http<DataType, ErrorType>}
 */
export declare function useHttp<DataType, ErrorType extends HttpError>(initialUrl?: string, initialQuery?: HttpQuery, options?: HttpOptions<DataType, ErrorType>): Http<DataType, ErrorType>;
export declare type UseHttp = typeof useHttp;
