1 | import { GaxiosPromise } from 'gaxios';
|
2 | import { APIRequestParams, BodyResponseCallback } from './api';
|
3 | /**
|
4 | * Create and send request to Google API
|
5 | * @param parameters Parameters used to form request
|
6 | * @param callback Callback when request finished or error found
|
7 | */
|
8 | export declare function createAPIRequest<T>(parameters: APIRequestParams): GaxiosPromise<T>;
|
9 | export declare function createAPIRequest<T>(parameters: APIRequestParams, callback: BodyResponseCallback<T>): void;
|