import { ReactNode } from 'react'; export interface UseAutocompleteA11yParams { helperText: ReactNode; externalDescribedBy?: string; error?: boolean | string; errorShown: boolean; invalid: boolean; } export interface UseAutocompleteA11yResult { ids: { helperTextId: string; errorId: string; validationErrorsId: string; labelId: string; }; aria: { describedBy?: string; errorMessage?: string; invalid: boolean; }; } /** * Consolidates accessible ID generation and aria-* attribute composition for Autocomplete. */ export declare function useAutocompleteA11y({ helperText, externalDescribedBy, error, errorShown, invalid, }: UseAutocompleteA11yParams): UseAutocompleteA11yResult; export default useAutocompleteA11y;