export type EventName = "cart-add" | "cart-update" | "cart-change" | "cart-clear" | "item-create" | "item-update" | "item-delete" | "item-lists-update" | "list-create" | "list-update" | "list-delete" | "notification-update" | "notification-delete" | "auth-cache-clear" | "token-update"; export declare class EventBus { private readonly eventBus; subscribe(type: EventName | EventName[], callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): () => void; unsubscribe(type: EventName, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; publish(type: EventName, detail: any): void; }