import { EventEmitter } from "node:events";
import type { RudderEvent } from "./types.js";
export declare class RudderBus extends EventEmitter {
    publish(event: RudderEvent): void;
    /**
     * Subscribe to every published event. Returns an unsubscribe function.
     */
    subscribe(fn: (event: RudderEvent) => void): () => void;
}
