import { AxiosPromise } from 'axios';
import { BodyResponseCallback } from 'google-auth-library/build/src/transporters';
import { APIRequestParams } from './api';
/**
 * Create and send request to Google API
 * @param parameters Parameters used to form request
 * @param callback   Callback when request finished or error found
 */
export declare function createAPIRequest<T>(parameters: APIRequestParams): AxiosPromise<T>;
export declare function createAPIRequest<T>(parameters: APIRequestParams, callback: BodyResponseCallback<T>): void;
