/** * Dashboard-only markers and widget blocks. * * Part of the reply vocabulary is rendered exclusively by the dashboard chat * surface and means nothing anywhere else: the single-line `[CONFIG:]` * plugin-card, `[CONNECTOR:]` connector-card, and `[BACKGROUND]` * wallpaper-picker markers, and the JSON-bodied * `[CHECKLIST]`/`[WORKFLOW]` widget blocks (see packages/ui * message-parser-helpers and the per-widget parsers it collects). None of these * are part of the interaction-block grammar, so `parseInteractionBlocks` * deliberately leaves them in `cleanedText` — which means every non-dashboard * connector that renders from cleanedText leaks them verbatim into chat * (live: `[CONFIG:google_calendars]` raw over api/chat replies, Finding B at * HQ; a raw `[CHECKLIST]{json}[/CHECKLIST]` block in an api reply, * tj-578adf524ebb7a). * * Bare markers are stripped; widget blocks degrade to a plain-text projection * of their content (a checklist keeps its items, a workflow keeps its steps) so * button-less transports lose the widget, not the answer. A malformed widget * body keeps its body text with the bracket markers removed — the same * plain-text fallback the dashboard applies, minus the wire syntax. * * The canonical interaction parser applies this only to its connector-facing * `cleanedText`; it never mutates the original content consumed by the * dashboard. Every pattern below mirrors its dashboard counterpart exactly so * the two projections agree about what constitutes a marker. */ /** * Remove dashboard-only markers from connector-bound prose and degrade * dashboard widget blocks to plain text. Collapses the whitespace a removed * marker leaves behind so chat output has no orphan blank lines. */ export declare function stripDashboardOnlyMarkers(text: string): string;