import { CSSResultArray, PropertyValues, TemplateResult } from 'lit'; import { SpectrumElement } from '../../shared/base'; declare const VALID_VARIANTS: string[]; export type AlertBannerVariants = (typeof VALID_VARIANTS)[number]; /** * Base class for alert banner components */ export declare abstract class AlertBannerBase extends SpectrumElement { static get styles(): CSSResultArray; /** * Controls the display of the alert banner * * @param {Boolean} open */ open: boolean; /** * Whether to include an icon-only close button to dismiss the alert banner * * @param {Boolean} dismissible */ dismissible: boolean; /** * The variant applies specific styling when set to `negative` or `info`; * `variant` attribute is removed when it's passed an invalid variant. * * @param {String} variant */ set variant(variant: AlertBannerVariants); get variant(): AlertBannerVariants; private _variant; protected isValidVariant(variant: string): boolean; protected abstract renderIcon(variant: string): TemplateResult; protected shouldClose(): void; close(): void; protected handleKeydown(event: KeyboardEvent): void; protected updated(changes: PropertyValues): void; } export {};