import { EditorNotification } from './parts/notifications'; import { TemplateResult } from '@blinkk/selective-edit'; import { UiPartComponent, UiPartConfig } from './parts'; import { BaseUI } from './index'; export interface ToastConfig extends UiPartConfig { classes?: Array; notification: EditorNotification; noAutoClose?: boolean; noPauseOnFocusLoss?: boolean; noPauseOnHover?: boolean; } declare const Toast_base: { new (...args: any[]): { _listeners?: Record void)[]> | undefined; addListener(eventName: string, callback: (...args: any) => void): void; readonly listeners: Record void)[]>; triggerListener(eventName: string, ...args: any): void; }; } & (new (...args: any[]) => { _uuid?: string | undefined; readonly uuid: string; readonly uid: string; }) & typeof BaseUI; export declare class Toast extends Toast_base implements UiPartComponent { config: ToastConfig; element?: HTMLElement; isClosed: boolean; isPaused: boolean; isVisible: boolean; constructor(config: ToastConfig); classesForToast(): Record; handleToastClick(evt: Event): void; handleAnimationStart(evt: Event): void; hide(): void; show(): void; template(): TemplateResult; toggle(): void; } export {};