import { IHttpClient } from '@digital-boss/n8n-designpatterns/dist/interfaces'; import { IDataObject } from 'n8n-workflow'; import { IHttpRequestOptions } from 'n8n-workflow/dist/src/Interfaces'; export interface IAuth { url: string; token: string; skipSsl: boolean; testingMode: boolean; } declare type RequestFn = (uriOrObject: string | IDataObject | any, options?: IDataObject) => Promise; export declare const normalizeUrl: (url: string) => string; export declare class HttpClient implements IHttpClient { private requestFn; private creds; constructor(requestFn: RequestFn, creds: IAuth); private convertJsonToXml; private convertXmlToJson; request(options: IHttpRequestOptions, testCredentials?: boolean): Promise; } export {};