import type { AsyncQueue } from "@vertigis/arcgis-extensions/utilities/asyncIterable"; import type { FC } from "react"; /** * An object that can be queued to announce a message via screen reader. */ export interface NarrateQueueItem { /** * The message for the screen-reader to announce. */ message: string; /** * The timeout in ms to wait before narrating the message. */ timeout: number; } /** * The properties to configure the QueuedNarrator component. */ export interface QueuedNarratorProps { /** * The message for the screen-reader to announce. */ narrateQueue: AsyncQueue; /** * The aria-live attribute value for the narrator. Defaults to 'polite'. */ "aria-live"?: "off" | "polite" | "assertive"; } declare const QueuedNarrator: FC; export default QueuedNarrator;