import { APIRequestParams } from './types'; /** * @error Bypasses HTTP Interceptors * * @stackoverflow [Link](https://stackoverflow.com/questions/49507928/how-to-inject-httpclient-in-static-method-or-custom-class) * * @author Michael Podsiadly */ export interface StandardParameters { url: string; method: string; body?: Object | string | Array; headers?: { [header: string]: string | string[]; }; params?: { [params: string]: string | string[]; }; responseType?: 'arraybuffer' | 'blob' | 'json' | 'text'; observe?: 'body' | 'events' | 'response'; stream?: boolean; } /** * * @param parameters * @param http * * @author Michael Podsiadly */ export declare function createAPIRequest(parameters: APIRequestParams): Promise;