import { ScreenReaderNotification } from '../../modularOptionList/types'; export interface ScreenReaderNotificationHandlers { getMetaData(): { screenReaderNotifications: ScreenReaderNotification[]; }; updateMetaData(update: { screenReaderNotifications: ScreenReaderNotification[]; }): void; } /** * Creates a screen reader notification object with timing information * @param type - The type/category of the notification * @param content - The text content to be announced * @param delay - Optional delay before announcing (default: 0) * @returns ScreenReaderNotification object */ export declare function createScreenReaderNotification(type: string, content: string, delay?: number): ScreenReaderNotification; /** * Adds a new screen reader notification or updates existing one of the same type * @param notification - The notification to add or update * @param dataHandlers - Object with getMetaData and updateMetaData methods * @returns true if notification was added (new), false if updated (existing) */ export declare function addOrUpdateScreenReaderNotificationByType(notification: ScreenReaderNotification, dataHandlers: ScreenReaderNotificationHandlers): boolean; /** * Removes screen reader notification(s) matching the given criteria * @param target - Partial notification to match against (type and/or content) * @param dataHandlers - Object with getMetaData and updateMetaData methods * @returns true if a notification was removed, false otherwise */ export declare function removeScreenReaderNotification(target: Partial, dataHandlers: ScreenReaderNotificationHandlers): boolean;