/** * Event names used across the iframe bridge -- symmetric naming convention. * * Events prefixed with `ggui-` are `postMessage` types (cross-origin iframe boundary). * Events prefixed with `ggui:` are `CustomEvent` names (same-origin, dispatched on `window`). * * The bridge is one-directional: **Agent to Component** (inbound) data * deliveries. Outbound user interaction does NOT travel over this bridge — * generated components emit canonical `data:submit` ActionEnvelopes via the * wire-config action hooks (`useAction`) over the live channel. */ export declare const BRIDGE_EVENTS: { /** `postMessage` type for parent-to-iframe data delivery. The parent window posts this type; the iframe bridge script converts it to an `AGENT_DATA` CustomEvent. */ readonly AGENT_DATA_POST: "ggui-agent-data"; /** `CustomEvent` name dispatched on `window` when agent data arrives. Components listen for this to receive real-time data from the agent (chat messages, typing indicators, etc.). */ readonly AGENT_DATA: "ggui:agent-data"; }; /** * Srcdoc JS snippet: bridge agent data postMessages into CustomEvents inside iframe. * Inject this into any srcdoc