import '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js'; import type { ObcFloatingItemType, ObcFloatingItemDirection, ObcFloatingItemLineType } from '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** Visual style of the message. - `regular` (default): Standard notification with a single icon. - `application`: Enhanced style with primary and secondary icons. Use `application` when you want to visually distinguish system-level or application-specific messages. */ type?: ObcFloatingItemType; /** Layout direction of the component. - `horizontal` (default): Icon/content/actions arranged side-by-side. - `vertical`: Icon/content stacked, actions below. Choose `vertical` for narrow containers or when space is limited. */ direction?: ObcFloatingItemDirection; /** Shows a timestamp (slot `time`) when `true`. Enable to display a time label next to the title. */ hasTimestamp?: boolean; /** Shows a day chip (slot `day`) next to the timestamp when `true`. Only applied when `hasTimestamp` is also `true`. Use to provide additional context for the timestamp. */ hasDay?: boolean; /** Renders a primary action button (slot `action`) when `true`. Use for the main action the user can take in response to the message. */ action?: boolean; /** Enables a secondary action button (slot `action2`). Only applied when `action` is also `true`. Use sparingly for secondary actions (e.g., "Undo"). */ action2?: boolean; /** Line wrapping style for the message content. - `single-line` (default): Truncates to one line. - `multi-line`: Allows up to 8 lines of content. Use `multi-line` for longer messages or detailed descriptions. */ lineType?: ObcFloatingItemLineType; } export interface Events { onActionClick?: (event: CustomEvent) => void; onAction2Click?: (event: CustomEvent) => void; onDismissClick?: (event: CustomEvent) => void; } export interface Slots { primaryIcon?: Snippet; secondaryIcon?: Snippet; title?: Snippet; description?: Snippet; time?: Snippet; day?: Snippet; action?: Snippet; action2?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcFloatingItem: import("svelte").Component<$$ComponentProps, { ObcFloatingItemType: typeof ObcFloatingItemType; ObcFloatingItemDirection: typeof ObcFloatingItemDirection; ObcFloatingItemLineType: typeof ObcFloatingItemLineType; }, "">; type ObcFloatingItem = ReturnType; export default ObcFloatingItem;