import Manager from '../base/Manager'; import type EventBusDelegate from './EventBusDelegate'; /** * Generic EventBus manager. * Works with any EventBusDelegate implementation * without knowing the underlying library. */ export declare class EventBusManager> extends Manager> { /** Emit an event through the current delegate */ emit(type: K, payload: EventMap[K]): void; /** Subscribe to an event type through the delegate */ on(type: K, handler: (payload: EventMap[K]) => void): { unsubscribe: () => void; } | undefined; /** Optional delegate cleanup */ clear(): void; getValue(): { type: string | undefined; payload: unknown; } | null | undefined; } export default EventBusManager;