///
///
///
///
import { GenericValue, IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IN8nHttpResponse } from "n8n-workflow";
declare type TBody = FormData | GenericValue | GenericValue[] | Buffer | URLSearchParams;
declare type TQueryString = IDataObject;
export declare class ApiCall {
private n8n;
private baseURL;
constructor(executeFunction: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions, baseURL: string);
private httpRequestWithAuthentication;
get(path: string, options?: {
params?: TQueryString;
verbose?: boolean;
}): Promise;
post(path: string, options?: {
body: TBody;
verbose?: boolean;
}): Promise;
put(path: string, options?: {
body: TBody;
verbose?: boolean;
}): Promise;
delete(path: string, options?: {
body: TBody;
verbose?: boolean;
}): Promise;
}
export default ApiCall;