import { ComputedRef } from "vue"; export type ToastVariant = "warn" | "success" | "info" | "error"; export type ToastContainerTheme = { top: string; bottom: string; left: string; right: string; iconSize: string; successColor: string; warnColor: string; infoColor: string; errorColor: string; gray: string; toasterMaxWidth: string; animationDuration: number; zIndex: number | string; animationFunction: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "step-end" | "step-start" | `cubic-bezier(${number},${number},${number},${number})`; toastBackgroundColor: string; translateX: string; direction: -1 | 1; }; export type ToastContainerConfigPartial = Partial & { theme: Partial; }>; export type ToastContainerConfig = { theme: ToastContainerTheme; pauseOnHover: boolean; closable: boolean; closeOnDoubleClick: boolean; duration: number; }; export type MouseEvents = { onMouseover: (event: Event) => void; onMouseleave: (event: Event) => void; onDblclick: (event: Event) => void; }; export interface ToastProps { id: string; title: string; type: ToastVariant; text: string; options: Partial>; } type ToastSlotProps = Readonly void; pauseCountdown: (value: boolean) => void; }>; export type ToastSlotType = { default(props: ToastSlotProps): any; icon(props: Pick): any; clearIcon(props: {}): any; content(props: Pick): any; }; export interface Toaster { add(_toastObj: Partial): string; success(message: string): string | undefined; info(message: string): string | undefined; warn(message: string): string | undefined; error(message: string): string | undefined; remove(_toastId: string): string | void; clear(_toastIds?: string[]): void; toasters: ComputedRef; } export {};