import Component from '../../components/alert/alert.component.js'; import { type EventName } from '@lit/react'; import type { CwShowEvent } from '../../events/events.js'; import type { CwAfterShowEvent } from '../../events/events.js'; import type { CwHideEvent } from '../../events/events.js'; import type { CwAfterHideEvent } from '../../events/events.js'; export type { CwShowEvent } from '../../events/events.js'; export type { CwAfterShowEvent } from '../../events/events.js'; export type { CwHideEvent } from '../../events/events.js'; export type { CwAfterHideEvent } from '../../events/events.js'; /** * @summary Alerts are used to display important messages inline or as toast notifications. * @documentation https://cw-elements-b0c7e5.gitlab.io/components/alert * @status stable * @since 1.0 * * @dependency cw-icon-button * * @slot - The alert's main content. * @slot icon - An icon to show in the alert. Works best with ``. * * @event cw-show - Emitted when the alert opens. * @event cw-after-show - Emitted after the alert opens and all animations are complete. * @event cw-hide - Emitted when the alert closes. * @event cw-after-hide - Emitted after the alert closes and all animations are complete. * * @csspart base - The component's base wrapper. * @csspart icon - The container that wraps the optional icon. * @csspart message - The container that wraps the alert's main content. * @csspart close-button - The close button, an ``. * @csspart close-button__base - The close button's exported `base` part. * * @animation alert.show - The animation to use when showing the alert. * @animation alert.hide - The animation to use when hiding the alert. */ declare const reactWrapper: import("@lit/react").ReactWebComponent; onCwAfterShow: EventName; onCwHide: EventName; onCwAfterHide: EventName; }>; export default reactWrapper;