import '@oicl/openbridge-webcomponents/dist/components/advice-message-item/advice-message-item.js'; import type { ObcAdviceMessageItemType, ObcAdviceMessageItemSize } from '@oicl/openbridge-webcomponents/dist/components/advice-message-item/advice-message-item.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** Title or heading of the advice message. Shown in the `title` slot if `hasTitle` is true. */ title?: string; /** Detailed message text for the advice. Shown in the `description` slot if `hasDescription` is true. */ description?: string; /** Primary timestamp to display (e.g., time of advice). Shown in the `time` slot if `hasTimestamp` is true. */ time?: string; /** Secondary timestamp (e.g., duration, relative time). Shown in the `time-secondary` slot if `hasTimestamp2` is true. */ timeSecondary?: string; /** Label for the action button (when `type` is "with-button"). Shown in the `action-text` slot. */ actionLabel?: string; /** Display type of the advice message. - `simple`: Standard message with optional title, description, and timestamp. - `with-button`: Includes a text action button. - `with-icon-button`: Includes an icon action button. - `inactive`: Shows the empty/inactive state. Default: `simple` */ type?: ObcAdviceMessageItemType; /** Size variant of the advice message. - `regular`: Default compact layout. - `tall`: Larger, more spacious layout. Default: `regular` */ size?: ObcAdviceMessageItemSize; /** Whether to show the title. If false, the title is hidden even if set. */ showTitle?: boolean; /** Whether to show the description. If false, the description is hidden even if set. */ showDescription?: boolean; /** Whether to show the primary timestamp. If false, the `time` slot is not rendered. */ showTimestamp?: boolean; /** Whether to show the secondary timestamp. If true, the `time-secondary` slot is rendered. */ hasTimestamp2?: boolean; /** Whether to show the secondary icon overlay. If true, the `secondary-icon` slot is rendered. */ hasSecondaryIcon?: boolean; /** Text to display in the empty/inactive state. Shown in the `empty` slot when `type="inactive"` or `empty` is true. */ emptyText?: string; } export interface Events { onMessageClick?: (event: CustomEvent) => void; onActionClick?: (event: CustomEvent) => void; } export interface Slots { primaryIcon?: Snippet; secondaryIcon?: Snippet; title?: Snippet; description?: Snippet; time?: Snippet; timeSecondary?: Snippet; actionText?: Snippet; actionIcon?: Snippet; empty?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcAdviceMessageItem: import("svelte").Component<$$ComponentProps, { ObcAdviceMessageItemType: typeof ObcAdviceMessageItemType; ObcAdviceMessageItemSize: typeof ObcAdviceMessageItemSize; }, "">; type ObcAdviceMessageItem = ReturnType; export default ObcAdviceMessageItem;