import { FASTElement } from '@microsoft/fast-element'; import { MessageBarIntent, MessageBarLayout, MessageBarShape } from './message-bar.options.js'; /** * A Message Bar Custom HTML Element. * * @tag fluent-message-bar * * @slot actions - Content that can be provided for the actions * @slot dismiss - Content that can be provided for the dismiss button * @slot icon - Content that can be provided for the leading icon * @slot - The default slot for the content * @fires { CustomEvent } dismiss - Fired when the message bar is dismissed. * @public */ export declare class MessageBar extends FASTElement { /** * The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component. * * @internal */ elementInternals: ElementInternals; constructor(); /** * Sets the shape of the Message Bar. * * @public * @remarks * HTML Attribute: `shape` */ shape?: MessageBarShape; /** * Sets the layout of the control. * * @public * @remarks * HTML Attribute: `layout` */ layout?: MessageBarLayout; /** * Sets the intent of the control. * * @public * @remarks * HTML Attribute: `intent` */ intent?: MessageBarIntent; /** * Method to emit a `dismiss` event when the message bar is dismissed * * @public */ dismissMessageBar: () => void; }