/** * @file Accessibility Utilities * @description Accessibility helper functions (Fast Refresh compliant). */ /** * Announce message to screen readers */ export declare function announceToScreenReader(message: string, priority?: 'polite' | 'assertive'): void; /** * Create visually hidden but screen reader accessible text */ export declare function createScreenReaderText(text: string): HTMLSpanElement; /** * Set focus to element with optional delay */ export declare function setFocusTo(element: HTMLElement | null, delay?: number): void; /** * Trap focus within container */ export declare function trapFocus(container: HTMLElement): () => void; /** * Get all focusable elements within container */ export declare function getFocusableElements(container: HTMLElement): HTMLElement[]; /** * Restore focus to previous element */ export declare function createFocusRestorer(): { save: () => void; restore: () => void; }; /** * Check if reduced motion is preferred */ export declare function prefersReducedMotion(): boolean; /** * Get ARIA attributes for loading state */ export declare function getLoadingAriaAttributes(isLoading: boolean, label?: string): { 'aria-busy': boolean; 'aria-live': 'polite'; 'aria-label'?: string; }; /** * Get ARIA attributes for expanded/collapsed state */ export declare function getExpandableAriaAttributes(isExpanded: boolean, controlsId?: string): Record; export declare function generateA11yId(prefix?: string): string;