import { type Dispatch, type MutableRefObject, type SetStateAction } from 'react'; import type { Action } from '../app-action-type.js'; import type { AppProps } from '../app-props.js'; import { type MemoryContextMonitorState } from '../memory-context-monitor.js'; interface ProviderEventBridgeOptions { events: AppProps['events']; agent: AppProps['agent']; dispatch: Dispatch; streamingTextRef: MutableRefObject; streamSegmentsRef: MutableRefObject>; pendingDeltaRef: MutableRefObject; flushTimerRef: MutableRefObject | null>; sessionGenerationRef: MutableRefObject; activeRunGenerationRef: MutableRefObject; assistantCommittedThisRunRef: MutableRefObject; setMemoryContextMonitor: Dispatch>; } /** Bridges provider/tool/delegate/memory events into render-neutral TUI actions. */ export declare function useProviderEventBridge({ events, agent, dispatch, streamingTextRef, streamSegmentsRef, pendingDeltaRef, flushTimerRef, sessionGenerationRef, activeRunGenerationRef, assistantCommittedThisRunRef, setMemoryContextMonitor, }: ProviderEventBridgeOptions): void; export {}; //# sourceMappingURL=use-provider-event-bridge.d.ts.map