import React from 'react'; import { ScreenReaderNotification } from '../../modularOptionList/types'; export interface ScreenReaderConfig { /** * CSS class name for the notifications container */ className: string; /** * Test ID for the notifications container */ testId: string; /** * Data handlers with getMetaData and updateMetaData functions */ dataHandlers: { getMetaData: () => { screenReaderNotifications: ScreenReaderNotification[]; }; updateMetaData: (data: { screenReaderNotifications: ScreenReaderNotification[]; }) => void; }; } /** * Generic ScreenReaderNotifications hook that manages screen reader announcements */ export declare function useGenericScreenReaderNotifications(config: ScreenReaderConfig): { notifications: ScreenReaderNotification[]; timeNow: number; }; /** * Generic ScreenReaderNotifications component that can be configured for different dropdown components */ export declare function GenericScreenReaderNotifications({ config }: { config: ScreenReaderConfig; }): React.JSX.Element;