twitter-api-v2
Version:
Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.
8 lines (7 loc) • 593 B
TypeScript
/// <reference types="node" />
import type { ClientRequestArgs } from 'http';
import type { ClientRequestMaker } from '../client-mixins/request-maker.mixin';
import { IGetHttpRequestArgs } from '../types';
import type { IComputedHttpRequestArgs } from '../types/request-maker.mixin.types';
export declare function hasRequestErrorPlugins(client: ClientRequestMaker): boolean;
export declare function applyResponseHooks(this: ClientRequestMaker, requestParams: IGetHttpRequestArgs, computedParams: IComputedHttpRequestArgs, requestOptions: Partial<ClientRequestArgs>, error: any): Promise<any>;