import '@oicl/openbridge-webcomponents/dist/components/toggletip/toggletip.js'; import type { ToggletipVariant } from '@oicl/openbridge-webcomponents/dist/components/toggletip/toggletip.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** Visual style and semantic meaning of the toggletip. - `normal` (default): Standard informational toggletip. - `raised`: Elevated importance with dark header. - `enhanced`: Used for enhanced or primary information. - `eco-feedback`: Environmental or positive feedback messaging. - `caution`: Indicates caution or minor issues. - `warning`: Highlights warnings or potential problems. - `alarm`: Signals critical or urgent conditions. */ variant?: ToggletipVariant; /** Title text displayed in the header. */ title?: string; /** Description text shown in the content area. */ description?: string | undefined; /** If true, shows the content slot area. Use the `content` slot to provide custom content. */ hasContent?: boolean; /** If true, shows the action buttons container. Both primary and secondary buttons are shown if labels are provided. TODO(designer): Should both buttons always be shown, or is one preferred as primary? */ hasActions?: boolean; /** If true, shows the leading icon in the header. The icon adapts to the current `variant` by default, or can be overridden via the `leading-icon` slot. */ hasLeadingIcon?: boolean; /** If true, shows the trailing icon in the header. Use the `trailing-icon` slot to provide a custom icon. */ hasTrailingIcon?: boolean; /** Sets a custom width for the toggletip in pixels. If not set, defaults to 400px. */ customWidth?: number | undefined; /** Label for the primary action button. Only shown if `hasActions` is true. */ primaryButtonLabel?: string; /** Label for the secondary action button. Only shown if `hasActions` is true. */ secondaryButtonLabel?: string; } export interface Events { onPrimaryAction?: (event: CustomEvent) => void; onSecondaryAction?: (event: CustomEvent) => void; } export interface Slots { leadingIcon?: Snippet; trailingIcon?: Snippet; content?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcToggletip: import("svelte").Component<$$ComponentProps, { ToggletipVariant: typeof ToggletipVariant; }, "">; type ObcToggletip = ReturnType; export default ObcToggletip;