import React from 'react'; interface MessageHubProps { config?: { tension: number; friction: number; precision: number; }; className?: string; timeout?: number; limit?: number; forwardAPI?: (add: AddFunction) => void; } interface Item { key?: number | string; title: React.ReactNode; description?: React.ReactNode; btn?: React.ReactNode; } declare type AddFunction = (msg: Item) => void; declare type CancelFunction = (key: string) => void; export declare const info: AddFunction; export declare const cancel: CancelFunction; export declare function Notification({ config, timeout, ...props }: MessageHubProps): React.ReactPortal | null; export {};