UNPKG

562 BTypeScriptView Raw
1import { GaxiosOptions } from './common';
2import { Gaxios } from './gaxios';
3export { GaxiosError, GaxiosPromise, GaxiosResponse, Headers, RetryConfig, } from './common';
4export { Gaxios, GaxiosOptions };
5export * from './interceptor';
6/**
7 * The default instance used when the `request` method is directly
8 * invoked.
9 */
10export declare const instance: Gaxios;
11/**
12 * Make an HTTP request using the given options.
13 * @param opts Options for the request
14 */
15export declare function request<T>(opts: GaxiosOptions): Promise<import("./common").GaxiosResponse<T>>;