import { Headers } from 'node-fetch';
export interface IUser {
    username: string;
    password: string;
}
export declare type AcceptableHttpVerbs = 'GET' | 'POST' | 'PUT';
export declare type HeadersType = Headers | {
    [header: string]: string;
};
export declare type BodyType = {
    root: string;
    properties: Object;
};
export default class FinesseHttpHelper {
    static get(url: string, user: IUser): Promise<string | null>;
    static put(url: string, user: IUser, body: BodyType): Promise<string | null>;
    static post(url: string, user: IUser, body: BodyType): Promise<string | null>;
    static _xmlRequest(url: string, user: IUser, method: AcceptableHttpVerbs, body: BodyType): Promise<string | null>;
    static _basicAuthString(user: IUser): string;
    private static _httpRequest(url, user, method, headers?, body?);
}
