/** * CLI System Event Formatting Helpers * * Purpose: * - Convert runtime `system` event payloads into readable CLI output text. * * Key Features: * - Supports plain-string and structured-object system payloads. * - Preserves important status families such as title updates and queue failures. * - Keeps formatting pure so both interactive and pipeline paths share the same logic. * * Notes on Implementation: * - Leaf helper with no terminal side effects. * - Unknown payloads return `null` so callers can skip empty/noise events. * * Summary of Recent Changes: * - 2026-03-12: Created for cross-client system-status parity. */ export interface CliSystemEventPayload { message?: unknown; content?: unknown; eventType?: unknown; type?: unknown; title?: unknown; [key: string]: unknown; } export declare function getSystemEventDisplayText(eventData: CliSystemEventPayload | null | undefined): string | null;