/** * Drives the file input's polite live region. Announcing the same message * twice in a row clears the region first and refills it two frames later, * so screen readers treat the repeat as a new announcement. A message stays * until the next announcement or `clearStatusAnnouncement`. */ export default function useStatusAnnouncement(): { statusAnnouncement: string; announceStatus: (message: string) => void; clearStatusAnnouncement: () => void; };