/**
 * EventBusProvider - React context provider for the event bus
 *
 * Provides a page-scoped event bus for trait communication.
 * Each page has its own event bus instance.
 *
 * NOTE: Selection state has been moved to SelectionProvider.
 * Use SelectionProvider for tracking selected entities.
 *
 * @packageDocumentation
 */
import React, { type ReactNode } from 'react';
import type { EventBusContextType } from '../hooks/event-bus-types';
/**
 * Extended context type for backward compatibility.
 *
 * @deprecated getSelectedEntity and clearSelectedEntity are deprecated.
 * Use SelectionProvider and useSelection hook instead.
 */
export interface EventBusContextTypeExtended extends EventBusContextType {
    /** @deprecated Use useSelection from SelectionProvider instead. */
    getSelectedEntity: () => unknown | null;
    /** @deprecated Use useSelection from SelectionProvider instead. */
    clearSelectedEntity: () => void;
}
export declare const EventBusContext: React.Context<EventBusContextTypeExtended | null>;
interface EventBusProviderProps {
    children: ReactNode;
    /**
     * @deprecated No-op. Logging is now gated by `@almadar/logger` —
     * use `setLogLevel('DEBUG')` or `setNamespaceLevel('almadar:eventbus', 'DEBUG')`
     * from `@almadar/logger` to control verbosity. Kept for API compatibility.
     */
    debug?: boolean;
}
export declare function EventBusProvider({ children }: EventBusProviderProps): import("react/jsx-runtime").JSX.Element;
export type { EventBusContextType };
