/** * ANSI accessibility annotations for screen readers. * These sequences are picked up by VoiceOver (macOS) and NVDA (Windows). */ interface AriaProps { 'aria-label'?: string; 'aria-description'?: string; 'aria-live'?: 'polite' | 'assertive'; } /** * Announce text to screen readers. * Uses an OSC-style sequence that some screen readers intercept. * Falls back to writing a comment to stderr in non-TTY mode. */ declare function announce(text: string, urgency?: 'polite' | 'assertive'): void; /** * Get an accessible name for a component — returns aria-label if set, * otherwise falls back to the provided default. */ declare function getAccessibleName(ariaLabel: string | undefined, fallback: string): string; export { type AriaProps as A, announce as a, getAccessibleName as g };