import 'cross-fetch/polyfill';
import { HatHttpParameters, IHttpResponse } from '../interfaces/http.interface';
import { State } from '../state';
export declare class HttpService {
    private state;
    constructor(state: State);
    req: <T>(path: string, args?: RequestInit, params?: HatHttpParameters | undefined) => Promise<IHttpResponse<T>>;
    http: <T>(request: string, args: object) => Promise<IHttpResponse<T>>;
}
