import type { CollapsibleErrorPanelItem } from '../components/CollapsibleErrorPanel/CollapsibleErrorPanel.types'; import type { RdiUiError } from './RdiUiError'; /** * Maps a normalized `RdiUiError` to the `errors[]` array expected by * `CollapsibleErrorPanel`. Title and links remain the caller's responsibility. * * - When `details[]` is present they are the primary content; `message` is a * generic summary and is omitted to avoid redundancy. * - When there are no `details[]`, `message` is shown as the single error item. */ export declare const toCollapsiblePanelError: (error: RdiUiError) => CollapsibleErrorPanelItem[];