import { r as Interceptor, t as ExtractEventNames } from "./Interceptor-DEazpLJd.mjs"; import { EventMap, Listener } from "strict-event-emitter"; //#region src/BatchInterceptor.d.ts 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; } //#endregion export { BatchInterceptorOptions as n, ExtractEventMapType as r, BatchInterceptor as t }; //# sourceMappingURL=BatchInterceptor-D7mXzHcQ.d.mts.map