import type { SerializableObject } from "../helpers.js"; import { UrlHandler } from "../url-handler.js"; import { type AsyncEventBus, type EventBus, type EventMap } from "./event-bus.js"; import type { IEvent } from "./shared.js"; export * from "./async.js"; export * from './event-bus.js'; export * from './shared.js'; export * from './event-emitter.js'; export declare const eventBuses: UrlHandler<[url: URL, config: SerializableObject & { abort?: AbortSignal; }, void], EventBus> & { process = Record>>(url: URL, config: SerializableObject): Promise>; }; export declare const asyncEventBuses: UrlHandler<[url: URL, config: SerializableObject & { abort?: AbortSignal; }, void], AsyncEventBus> & { process = Record>>(url: URL, config: SerializableObject): Promise>; };