import '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js'; import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js'; import type { ObcAlertButtonType } from '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** Number of active alerts to display in the counter badge. If set to 0, the button appears in the idle state. */ nAlerts?: number; /** Type of alert to display. Determines the icon and color scheme. Can be `alarm`, `warning`, `caution`, or undefined for idle state. */ alertType?: AlertType | undefined; /** Visual variant of the button. - `flat`: Minimal, icon-only button for compact layouts. - `normal`: Standard button with icon and optional counter (default). - `enhanced`: Emphasized button for high-priority alerts. */ type?: ObcAlertButtonType; /** Increases button size for touch-friendly or prominent use. Adds extra height and padding. */ large?: boolean; /** Whether to display the silence button. The silence button is only shown if this is true, the width is above `silenceButtonMinBreakpointPx`, and the button is not in flat mode. */ showSilenceButton?: boolean; /** Disables the silence button when true. */ silenceButtonDisabled?: boolean; /** Whether to show the alert counter badge. Only shown when there are active alerts and the button is not in flat mode. */ counter?: boolean; /** Enables blinking animation for active alerts. Blinking is only shown for alarm and warning types, not for caution. */ blinking?: boolean; /** Maximum width (in px) for normal/enhanced mode. If the available width is less than this value, the button switches to flat mode. Only applies when `type` is set to `normal` or `enhanced`. */ flatMaxBreakpointPx?: number; /** Minimum width (in px) to show the silence button. If the available width is less than this value, the silence button is hidden. Only applies when `showSilenceButton` is true. */ silenceButtonMinBreakpointPx?: number; } export interface Events { onClickAlert?: (event: CustomEvent) => void; onClickSilence?: (event: CustomEvent) => void; } export interface Slots { children?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcAlertButton: import("svelte").Component<$$ComponentProps, { AlertType: typeof AlertType; ObcAlertButtonType: typeof ObcAlertButtonType; }, "">; type ObcAlertButton = ReturnType; export default ObcAlertButton;