import { Toast } from './function-call'; import type { TeleportProps } from 'vue'; import type { LoadingType } from '../loading'; import type { Numeric } from '../utils'; export declare type ToastType = 'text' | 'loading' | 'success' | 'fail' | 'html'; export declare type ToastPosition = 'top' | 'middle' | 'bottom'; export declare type ToastOptions = { icon?: string; type?: ToastType; mask?: boolean; message?: Numeric; onClose?: () => void; onOpened?: () => void; overlay?: boolean; duration?: number; teleport?: TeleportProps['to']; iconSize?: Numeric; position?: ToastPosition; className?: unknown; transition?: string; iconPrefix?: string; loadingType?: LoadingType; forbidClick?: boolean; closeOnClick?: boolean; overlayClass?: unknown; overlayStyle?: Record; closeOnClickOverlay?: boolean; }; declare module '@vue/runtime-core' { interface ComponentCustomProperties { $toast: typeof Toast; } }