import type { NotificationInstance } from 'antd/es/notification/interface'; import type { ObNotificationDuration, ObNotificationInstance } from './interface'; export interface CreateObNotificationOptions { /** * 实例级默认自动关闭时长,按优先级从高到低传入; * notification.config 的全局配置由 durationConfig 固定作为最后一级。 */ durations?: ObNotificationDuration[]; } export declare const createObNotification: (base: NotificationInstance, options?: CreateObNotificationOptions) => ObNotificationInstance;