import { type ComponentType, type PropsWithChildren, type ReactNode } from "react"; export interface INotificationProps { title: ReactNode; onClose?: () => void; show?: boolean; } export type INotificationComponent = ComponentType>; export declare const Notification: INotificationComponent; export type IUseNotificationProps = PropsWithChildren; export interface IUseNotificationResult { notification: ReactNode; setNotification: (message?: ReactNode) => void; } export type IUseNotification

= (props: P) => IUseNotificationResult; export declare function useNotification

({ Component, ...props }: P): IUseNotificationResult;