import { RefObject } from 'react'; import { WidgetMessage } from '../../../internal/plugins/widget/interfaces'; import { AppLayoutProps } from '../../interfaces'; interface RenderLatestFeaturePromptProps { triggerRef: RefObject; } export interface FeatureNotificationsProps { renderLatestFeaturePrompt: RenderLatestFeaturePrompt; drawer?: AppLayoutProps.Drawer | null; } export type RenderLatestFeaturePrompt = (props: RenderLatestFeaturePromptProps) => JSX.Element | null; export declare function useFeatureNotifications(): { featureNotificationsProps: FeatureNotificationsProps; onOpenFeatureNotificationsDrawer: () => void; featureNotificationsMessageHandler: (event: WidgetMessage) => void; }; export {};