import { PropertyValueMap } from "lit"; import SgdsElement from "../../base/sgds-element"; import SgdsCloseButton from "../CloseButton/sgds-close-button"; /** * @summary Toast allows you to convey quick messaging notifications to the user. * * @slot default - The content to pass into toast's body * @slot action - The content to pass into toast's action * @slot icon - The icon in toast. * * @event sgds-show - Emitted on show. * @event sgds-after-show - Emitted on show after animation has completed. * @event sgds-hide - Emitted on hide. * @event sgds-after-hide - Emitted on hide after animation has completed. * */ export declare class SgdsToast extends SgdsElement { static styles: import("lit").CSSResult[]; /**@internal */ static dependencies: { "sgds-close-button": typeof SgdsCloseButton; }; /**@internal */ toast: HTMLElement; /** Controls the appearance of toast */ show: boolean; /** The header title of toast. It is required to assign a title to toast */ title: string; /** Controls whether the toast has fade animation during its appearance/disappearance */ noAnimation: boolean; /** Controls if the toast will hide itself after the delay time. Works with delay property */ autohide: boolean; /** The amount of time taken in miliseconds for toast to disappear after its first render. It takes effect only when autohide is set to true. Defaults to 5000ms */ delay: number; /**The variant styles of toast */ variant: "success" | "warning" | "danger" | "info"; /** Controls whether or not the Toast is dismissible */ dismissible: boolean; /** Shows the toast */ showToast(): Promise; /** Hide the toast */ hideToast(): Promise; /** @internal */ handleCloseClick(): void; /**@internal */ handleShowChange(): Promise; protected firstUpdated(changedProperties: PropertyValueMap): void; private _actionNodes; render(): import("lit").TemplateResult<1>; } export default SgdsToast;