import type { CompatibleKnownAnnounceStrings } from '../compatibleEnum/KnownAnnounceStrings'; import type { KnownAnnounceStrings } from '../enum/KnownAnnounceStrings'; /** * Represents data, that can be used to announce text to screen reader. */ export default interface AnnounceData { /** * @optional Default announce strings built in Rooster */ defaultStrings?: KnownAnnounceStrings | CompatibleKnownAnnounceStrings; /** * @optional string to announce from this Content Changed event, will be the fallback value if default string * is not provided or if it is not found in the strings map. */ text?: string; /** * @optional if provided, will attempt to replace {n} with each of the values inside of the array. */ formatStrings?: string[]; }