import type { ToastProps, ToastEmits } from '../types'; import type { EmitsToProps } from '../types/utils'; export interface Toast extends Omit, EmitsToProps { id: string | number; onClick?: (toast: Toast) => void; } export declare function useToast(): { toasts: import("vue").Ref; add: (toast: Partial) => Toast; update: (id: string | number, toast: Omit, "id">) => void; remove: (id: string | number) => void; clear: () => void; };