import { ReactNode } from 'react'; export interface UseSelectA11yParams { helperText: ReactNode; externalDescribedBy?: string; error?: boolean | string; errorShown: boolean; invalid: boolean; } export interface UseSelectA11yResult { 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 Select. */ export declare function useSelectA11y({ helperText, externalDescribedBy, error, errorShown, invalid, }: UseSelectA11yParams): UseSelectA11yResult; export default useSelectA11y;