import { EventEmitter } from '../../stencil-public-runtime'; import { ThemeVariantType } from "../../type/variant"; import { ToneMinimalBoxVariantType } from "../../type/tone"; import { BannerTypographyType } from './meta/types'; /** * @slot - Add `text string`, `HTML elements` or `components` to this slot. * @slot action - Add `HTML elements` or `components`, it is **recommended** to use `mds-button` element. * @part text - The text wrapper of the `default` and `content` slots * @category feedback */ export declare class MdsBanner { host: HTMLMdsBannerElement; private t; closeButtonVariant: ThemeVariantType; hasActions: boolean; isWindow: boolean; private placeObserver?; /** * Sets the theme variant colors */ readonly variant?: ThemeVariantType; /** * Sets the tone of the color variant */ readonly tone?: ToneMinimalBoxVariantType; /** * Hides the decoration around the banner icon */ readonly hideCockade?: boolean; /** * Shows a close button that dismisses the banner: activating it emits `mdsBannerClose` */ readonly dismissible?: boolean; /** * Shows the close button, as `dismissible` does. * @deprecated Use `dismissible`: the button dismisses the message, it deletes nothing. * Goes in the next major. */ readonly deletable?: boolean; /** * The title on the top of the banner */ readonly headline?: string; /** * The style of the headline: `h6`, the title of a part, or `h5`, the title of a dialog * (#1189, titles). Left out, it follows the place of the banner: `h6` in the page, `h5` as * the window of a dialog (`slot="window"` on a child of `mds-modal`), above the `h6` of the * parts and the groups of fields it holds. Nothing larger: `h4` is too large for a banner */ readonly typography?: BannerTypographyType; /** * An icon displayed at the top left of the banner */ readonly icon?: string; private ariaVariants; private isDismissible; private readPlace; private headlineTypography; connectedCallback(): void; componentWillLoad(): void; disconnectedCallback(): void; variantHandler(newValue: ThemeVariantType): void; /** * Emits when the url view is closed */ closeEvent: EventEmitter; private setCloseButtonVariant; private onActionSlotChange; private closeBanner; render(): any; }