import { LitElement } from 'lit';
import { AlertType } from '../../types.js';
import '../../icons/icon-alerts.js';
import '../../icons/icon-alerts-active.js';
import '../../icons/icon-notification.js';
import '../../icons/icon-notification-filled.js';
import '../../icons/icon-notification-advice.js';
import '../../icons/icon-notification-advice-active.js';
import '../../icons/icon-silence-iec.js';
import '../../icons/icon-alerts-alarm-twotone.js';
import '../../icons/icon-alerts-warning-twotone.js';
import '../../icons/icon-alerts-caution-twotone.js';
/**
 * `ObcAlertButtonType` – Enum for alert button visual and behavioral variants.
 *
 * - `flat`: Minimal, icon-only button for compact spaces.
 * - `normal`: Standard button with icon and optional counter.
 * - `enhanced`: Emphasized button with additional styling for high-priority alerts.
 */
export declare enum ObcAlertButtonType {
    Flat = "flat",
    Normal = "normal",
    Enhanced = "enhanced"
}
/**
 * `<obc-alert-button>` – A compact, icon-based button for displaying alert or notification status and count.
 *
 * This component provides a visual indicator for active alerts or notifications, supporting different alert types (such as alarm, warning, or caution) and an optional counter badge. It can also include a secondary "silence" action button for muting alerts, adapting its layout responsively for different screen widths.
 *
 * Appears in toolbars or notification areas to give users a quick overview of alert status and provide direct access to alert-related actions.
 *
 * ## Features
 *
 * - **Variants:**
 *   - **Flat:** Minimal, icon-only button for space-constrained layouts.
 *   - **Normal:** Standard button with icon and optional alert counter.
 *   - **Enhanced:** Visually prominent button for high-priority alerts, with accent styling.
 * - **Alert Types:** Supports `alarm`, `warning`, `caution`, or no alert (idle). Icon and color adapt to the alert type.
 * - **Alert Counter:** Optional badge displays the number of active alerts (except in flat mode).
 * - **Silence Button:** Optional secondary button to mute or silence alerts, shown when enabled and at sufficient width.
 * - **Blinking Animation:** Can animate (blink) to draw attention to active alerts (except for caution type).
 * - **Responsive Layout:** Automatically switches to flat mode below a configurable width, and hides the silence button below another configurable width.
 * - **Large Size Option:** Increases button height and padding for touch-friendly or prominent use.
 *
 * ## Usage Guidelines
 *
 * Use `<obc-alert-button>` to provide a persistent, easily accessible indicator of alert or notification status. Ideal for toolbars, headers, or notification panels where users need to be aware of active alerts and may need to silence them quickly.
 *
 * - Use the counter to show the number of active alerts when relevant.
 * - Use the silence button to provide a quick mute action, but only when space allows.
 * - Choose the variant (`flat`, `normal`, `enhanced`) based on available space and the importance of the alert.
 * - The blinking feature should be reserved for urgent or high-priority alerts to avoid unnecessary distraction.
 *
 * **TODO(designer):** Confirm if there are recommended default behaviors for auto-blinking, and if there are any design constraints for when to use each variant.
 *
 * ## Properties
 *
 * - `nAlerts` (number): Number of active alerts to display in the counter badge.
 * - `alertType` (`AlertType`): Type of alert (`alarm`, `warning`, `caution`, or undefined for idle).
 * - `type` (`ObcAlertButtonType`): Visual variant of the button (`flat`, `normal`, `enhanced`). Default is `normal`.
 * - `counter` (boolean): Whether to show the alert counter badge (not available in flat mode).
 * - `showSilenceButton` (boolean): Whether to display the silence button (hidden in flat mode or below min breakpoint).
 * - `silenceButtonDisabled` (boolean): Disables the silence button when true.
 * - `flatMaxBreakpointPx` (number): Maximum width (in px) for normal/enhanced mode; below this, switches to flat mode.
 * - `silenceButtonMinBreakpointPx` (number): Minimum width (in px) to show the silence button; below this, it is hidden.
 * - `blinking` (boolean): Enables blinking animation for active alerts (not for caution type).
 * - `large` (boolean): Increases button size for prominent or touch-friendly use.
 *
 * ## Events
 *
 * - `click-alert` – Fired when the main alert button is clicked.
 * - `click-silence` – Fired when the silence button is clicked.
 *
 * ## Best Practices & Constraints
 *
 * - Only show the counter when there are active alerts and the button is not in flat mode.
 * - The silence button is only visible if enabled, the width is above the minimum breakpoint, and the button is not flat.
 * - Blinking should be used sparingly to avoid overwhelming the user.
 * - Use the large variant for touch interfaces or when the button needs to stand out.
 *
 * ## Example
 *
 * ```html
 * <obc-alert-button
 *   nAlerts="3"
 *   alertType="alarm"
 *   type="enhanced"
 *   counter
 *   showSilenceButton
 *   blinking
 *   large
 *   flatMaxBreakpointPx="600"
 *   silenceButtonMinBreakpointPx="600"
 * ></obc-alert-button>
 * ```
 *
 * In this example, the button shows an alarm icon, a counter badge with "3", is styled as enhanced, blinks to indicate urgency, and includes a silence button if the width allows.
 *
 * @slot - No content slots. All content is provided via properties.
 * @fires click-alert {CustomEvent<void>} Fired when the main alert button is clicked.
 * @fires click-silence {CustomEvent<void>} Fired when the silence button is clicked.
 */
export declare class ObcAlertButton extends LitElement {
    /**
     * 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;
    /**
     * 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;
    private width;
    private resizeListener;
    connectedCallback(): void;
    disconnectedCallback(): void;
    private alertIcon;
    private alertIconNegative;
    private get activeType();
    private get showSilenceButtonDynamic();
    render(): import('lit-html').TemplateResult<1>;
    static styles: import('lit').CSSResult;
}
declare global {
    interface HTMLElementTagNameMap {
        'obc-alert-button': ObcAlertButton;
    }
}
//# sourceMappingURL=alert-button.d.ts.map