import React, { type AriaAttributes, type Ref } from 'react'; type AnnouncerProps = { ref?: Ref; /** Set 'false' for announcing only changed text * (not announce duplicate part of string after second render), * and 'true' for announcing all the string after each render */ ariaAtomic?: AriaAttributes['aria-atomic']; /** Set politeness settings */ ariaLive?: AriaAttributes['aria-live']; /** Used to describe what types of changes have occurred to an aria-live region */ ariaRelevant?: AriaAttributes['aria-relevant']; /** Role used to set attribute role. See more details https://dequeuniversity.com/library/aria/liveregion-playground#configOptions */ role?: 'status' | 'log' | 'alert' | 'timer' | 'marquee'; /** Text message that will be announced */ text: string; /** Debounce delay. * Set delay (ms) to prevent announce the same string multiple times. * It can be useful for cases when the parent component re-renders with the same announcer's text. */ delay?: number; }; export declare const Announcer: React.MemoExoticComponent & React.RefAttributes>>; export {};