import { Express } from 'express'; import { ReferrerPolicy, RequestRedirect } from 'node-fetch'; import { BaseEventController, BaseEventControllerOptions } from './BaseEventController'; declare type RequestControllerOptions = BaseEventControllerOptions; declare class RequestController extends BaseEventController { private options; name: string; constructor(options: RequestControllerOptions); init(app: Express): Promise; action(name: string, args: { method?: string; url: string; body?: string; headers?: Iterable; redirect?: RequestRedirect; referrer?: string; referrerPolicy?: ReferrerPolicy; compress?: boolean; }): Promise; fetchAction(args: { method?: string; url: string; body?: string; headers?: Iterable; redirect?: RequestRedirect; referrer?: string; referrerPolicy?: ReferrerPolicy; compress?: boolean; }): Promise; } export { RequestController, RequestControllerOptions, };