import { VueNode } from '@v-c/util/dist/type'; import { Component, CSSProperties, HTMLAttributes } from 'vue'; import { ClosableType } from './hooks/useClosable'; import { NotificationProgressProps } from './Progress'; export interface NotificationClassNames { wrapper?: string; root?: string; icon?: string; section?: string; title?: string; description?: string; actions?: string; close?: string; progress?: string; } export interface NotificationStyles { wrapper?: CSSProperties; root?: CSSProperties; icon?: CSSProperties; section?: CSSProperties; title?: CSSProperties; description?: CSSProperties; actions?: CSSProperties; close?: CSSProperties; progress?: CSSProperties; } export interface ComponentsType { progress?: Component; } export interface NotificationProps { prefixCls: string; className?: string; style?: CSSProperties; classNames?: NotificationClassNames; styles?: NotificationStyles; components?: ComponentsType; title?: VueNode; description?: VueNode; icon?: VueNode; actions?: VueNode; role?: string; closable?: ClosableType; offset?: number; notificationIndex?: number; stackInThreshold?: boolean; props?: HTMLAttributes & Record; duration?: number | false | null; showProgress?: boolean; times?: number; hovering?: boolean; pauseOnHover?: boolean; onClick?: (e: MouseEvent) => void; onMouseEnter?: (e: MouseEvent) => void; onMouseLeave?: (e: MouseEvent) => void; /** @deprecated Please use `closable.onClose` instead. */ onClose?: () => void; } declare const Notification: import('vue').DefineSetupFnComponent; export default Notification;