import type { Frame } from "../../types/index.js";
export declare class FrameBus {
    private handlers;
    subscribe<T extends Frame["type"]>(type: T, fn: (frame: Extract<Frame, {
        type: T;
    }>) => void): void;
    publish(frame: Frame): void;
}
