/**
 * Event Bus Types
 *
 * The EventBus provides a normalized event stream that unifies events from
 * PostHog autocapture, Canvas events, and derived behavioral signals.
 */
export type { EventSource, NormalizedEvent } from '@syntrologie/event-processor';
export { EVENT_SCHEMA_VERSION } from '@syntrologie/event-processor';
/**
 * Event filter for subscriptions.
 */
export interface EventFilter {
    /** Filter by event names (exact match) */
    names?: string[];
    /** Filter by event name patterns (regex) */
    patterns?: string[];
    /** Filter by sources */
    sources?: import('@syntrologie/event-processor').EventSource[];
}
/**
 * Callback for event subscriptions.
 */
export type EventCallback = (event: import('@syntrologie/event-processor').NormalizedEvent) => void;
/**
 * Unsubscribe function returned by subscribe().
 */
export type EventUnsubscribe = () => void;
/**
 * Standard event names used by the runtime.
 *
 * This is a superset of event-processor's StandardEvents, adding
 * canvas, overlay, action, notification, and surface events that
 * are specific to the runtime SDK.
 */
export declare const StandardEvents: {
    readonly UI_CLICK: "ui.click";
    readonly UI_SCROLL: "ui.scroll";
    readonly UI_INPUT: "ui.input";
    readonly UI_CHANGE: "ui.change";
    readonly UI_SUBMIT: "ui.submit";
    readonly NAV_PAGE_VIEW: "nav.page_view";
    readonly NAV_PAGE_LEAVE: "nav.page_leave";
    readonly CANVAS_OPENED: "canvas.opened";
    readonly CANVAS_CLOSED: "canvas.closed";
    readonly TILE_VIEWED: "tile.viewed";
    readonly TILE_EXPANDED: "tile.expanded";
    readonly TILE_COLLAPSED: "tile.collapsed";
    readonly TILE_ACTION: "tile.action";
    readonly OVERLAY_STARTED: "overlay.started";
    readonly OVERLAY_COMPLETED: "overlay.completed";
    readonly OVERLAY_DISMISSED: "overlay.dismissed";
    readonly OVERLAY_STEP_VIEWED: "overlay.step_viewed";
    readonly BEHAVIOR_RAGE_CLICK: "behavior.rage_click";
    readonly BEHAVIOR_HESITATION: "behavior.hesitation";
    readonly BEHAVIOR_CONFUSION: "behavior.confusion";
    readonly ACTION_APPLIED: "action.applied";
    readonly ACTION_REVERTED: "action.reverted";
    readonly ACTION_FAILED: "action.failed";
    readonly ACTION_CTA_CLICKED: "action.cta_clicked";
    readonly NOTIFICATION_SHOWN: "notification.shown";
    readonly NOTIFICATION_CLICKED: "notification.clicked";
    readonly NOTIFICATION_DISMISSED: "notification.dismissed";
    readonly NOTIFICATION_DEEP_LINK: "notification.deep_link";
    readonly SURFACE_MOUNTED: "surface.mounted";
    readonly SURFACE_UNMOUNTED: "surface.unmounted";
};
/**
 * Result returned from emit() in debug mode.
 * In production mode, emit() returns undefined.
 */
export interface EmitResult {
    delivered: boolean;
    matchedRules: Array<{
        tileId: string;
        ruleIndex: number;
        title: string;
    }>;
    posthogCaptured: boolean;
    listenersNotified: number;
}
/**
 * Entry in the debug/test event history.
 */
export interface EmitHistoryEntry {
    name: string;
    props?: Record<string, unknown>;
    source: 'custom';
    timestamp: number;
    matchedRules: EmitResult['matchedRules'];
}
