/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import type { NotifyChannel } from '@amodalai/db';
export type StudioEventType = NotifyChannel;
export interface StudioEvent {
    type: StudioEventType;
    payload: unknown;
    timestamp: string;
}
export interface SequencedStudioEvent extends StudioEvent {
    seq: number;
}
declare class StudioEventBus {
    private emitter;
    private seq;
    emit(type: StudioEventType, payload: unknown): void;
    subscribe(handler: (event: SequencedStudioEvent) => void): () => void;
}
export declare function getEventBus(): StudioEventBus;
/**
 * Reset the singleton event bus. Used for testing only.
 */
export declare function resetEventBus(): void;
export {};
