import * as lit_html from 'lit-html'; import * as lit from 'lit'; import { LitElement } from 'lit'; import { T as TypeStatus, a as TypeRoundedSizes } from '../constants-CcB9aXsT.js'; import '../form-controller-BR0gZhrG.js'; declare const overlayPositions: readonly ["fixed", "top-full", "bottom-full", "top-right", "top-left", "bottom-right", "bottom-left"]; declare enum EnumOverlayPositions { FIXED = "fixed", TOP_FULL = "top-full", BOTTOM_FULL = "bottom-full", TOP_RIGHT = "top-right", TOP_LEFT = "top-left", BOTTOM_RIGHT = "bottom-right", BOTTOM_LEFT = "bottom-left" } type TypeOverlayPositions = typeof overlayPositions[number]; /** * @since 1.4.0 * @status stable * * @tagname kemet-alert * @summary Calls out important messages and notifications. * * @prop {boolean} opened - Determines if the alert is opened or not. * @prop {boolean} reveal - Fades in the alert when opened. * @prop {boolean} closable - Adds a close button to the alert. * @prop {TypeDirection} borderStatus - Adds a border that indicates the status. * @prop {boolean} hidden - Hides the element from document flow. * @prop {TypeOverlayPositions} overlay - Fixes the alert over content in specified position. * @prop {TypeVariants} variant - The style of the alert. * @prop {TypeRoundedSizes} rounded - The rounded size of the alert. * @prop {boolean} filled - Determines if the alert uses the filled style. * * @slot icon - The icon of the alert. * @slot default - The contents of the alert. * * @event kemet-opened - Fires when alert is opened. * @event kemet-closed - Fires when alert is closed. * * @csspart close - Container for the close button. * @csspart message - Container for the alert message. * * @cssproperty --kemet-alert-padding - The padding on the alert. * @cssproperty --kemet-alert-border-thickness - The thickness of the border. * @cssproperty --kemet-alert-status-color - The status color. Default: inherit. * @cssproperty --kemet-alert-align-items - The alert's alignment. * @cssproperty --kemet-alert-border - The border around the alert. * */ declare class KemetAlert extends LitElement { static styles: lit.CSSResult[]; opened: boolean; reveal: boolean; closable: boolean; status: TypeStatus; borderStatus: string; hidden: boolean; overlay: string; rounded: TypeRoundedSizes; filled: boolean; shouldUpdate(prevProps: Map): boolean; firstUpdated(): void; updated(prevProps: Map): void; render(): lit_html.TemplateResult<1>; makeCloseBtn(): lit_html.TemplateResult<1>; handleMotion(): void; } declare global { interface HTMLElementTagNameMap { 'kemet-alert': KemetAlert; } } export { EnumOverlayPositions, type TypeOverlayPositions, KemetAlert as default, overlayPositions };