export interface ShowToastOptions { openAttribute?: string autoHide?: number | null heightProperty?: string close?: CloseToastOptions } export interface CloseToastOptions { closedAttribute?: string heightProperty?: string remove?: boolean } export function closeToast(element: HTMLElement, options?: CloseToastOptions): Promise export function showToast(element: HTMLElement, options?: ShowToastOptions): Promise