import { EventMap, Listener } from 'strict-event-emitter'; import { f as Interceptor, E as ExtractEventNames } from './Interceptor-88ee47c0.js'; interface BatchInterceptorOptions>> { name: string; interceptors: InterceptorList; } type ExtractEventMapType>> = InterceptorList extends ReadonlyArray ? InterceptorType extends Interceptor ? EventMap : never : never; /** * A batch interceptor that exposes a single interface * to apply and operate with multiple interceptors at once. */ declare class BatchInterceptor>, Events extends EventMap = ExtractEventMapType> extends Interceptor { static symbol: symbol; private interceptors; constructor(options: BatchInterceptorOptions); protected setup(): void; on>(event: EventName, listener: Listener): this; once>(event: EventName, listener: Listener): this; off>(event: EventName, listener: Listener): this; removeAllListeners>(event?: EventName | undefined): this; } export { BatchInterceptorOptions as B, ExtractEventMapType as E, BatchInterceptor as a };