import { RunnableConfig } from '@langchain/core/runnables'; import { TraceEventData, UXSuggestion } from '../orchestrator/orchestratorEvents'; /** * Dispatch a graph trace message to the browser event bridge. * * Emits a CustomEvent named "trace_message" that UI/tooling can observe * (e.g., devtools panels or Storybook add‑ons) to surface node-enter messages. * * @param data - Trace event data. * @param config - Runnable LangChain config forwarded to the dispatcher. * @returns A promise that resolves once the event has been dispatched. */ export declare const sendTraceMessage: (data: TraceEventData, config?: RunnableConfig) => Promise; /** * Send a UX suggestion produced by the graph to the host UI. * * Useful for surfacing non-blocking, contextual hints (e.g., recommended * actions or next steps) during an agent run. * * @param suggestion - The UX suggestion payload. * @param config - Runnable LangChain config to pass through to the dispatcher. * @returns A promise that resolves once the suggestion has been dispatched. */ export declare const sendUXSuggestion: (suggestion: UXSuggestion, config?: RunnableConfig) => Promise;