import React from 'react'; import { type Notification as NotificationType } from 'stream-chat'; type NotificationEntryDirection = 'bottom' | 'left' | 'right' | 'top'; type NotificationTransitionState = 'enter' | 'exit'; export type NotificationIconProps = { notification: NotificationType; }; export type NotificationProps = { /** Notification from the `client.notifications` state. */ notification: NotificationType; className?: string; /** Direction from which the notification enters. */ entryDirection?: NotificationEntryDirection; /** Icon component. Defaults to a severity-based icon. */ Icon?: React.ComponentType; /** Called on dismiss. Defaults to removing the notification. */ onDismiss?: () => void; /** Shows the close button; persistent notifications (no `duration`) always show it. */ showClose?: boolean; /** Transition state set by `NotificationList`. */ transitionState?: NotificationTransitionState; }; export declare const Notification: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=Notification.d.ts.map