import { IFetchClient } from './IFetchClient';
import { IFetchOptions } from './IFetchOptions';
import { IFetchResponse } from './IFetchResponse';
import { IAuthentication } from './IAuthentication';
export declare class FetchClient implements IFetchClient {
    baseUrl?: string;
    tenant: string;
    defaultHeaders: {};
    constructor(authOrBaseUrl?: IAuthentication | string, baseUrl?: string);
    setAuth(auth: IAuthentication): void;
    fetch(url: string, init?: IFetchOptions): Promise<IFetchResponse>;
    getUrl(url?: string, options?: IFetchOptions): string;
    getFetchOptions(options?: IFetchOptions): IFetchOptions;
    getCometdHandshake(config?: any): any;
    private resolveServerUrl;
    private adjustOptionsForFormData;
}
//# sourceMappingURL=FetchClient.d.ts.map