1 | import { HttpModule as HttpFetchModule } from '@nestjs/common';
|
2 | import { RequestConfig, RequestAsyncConfig } from './http.interface';
|
3 | export declare class HttpModule {
|
4 | static forRoot(options: RequestConfig): {
|
5 | module: typeof HttpModule;
|
6 | imports: (typeof HttpFetchModule)[];
|
7 | providers: import("@nestjs/common").Provider<RequestConfig>[];
|
8 | exports: import("@nestjs/common").Provider<RequestConfig>[];
|
9 | };
|
10 | static forRootAsync(options: RequestAsyncConfig): {
|
11 | module: typeof HttpModule;
|
12 | imports: (typeof HttpFetchModule)[];
|
13 | providers: import("@nestjs/common").Provider<any>[];
|
14 | exports: import("@nestjs/common").Provider<any>[];
|
15 | };
|
16 | }
|