import { ReactNode } from 'react'; export interface UseHelperSlotResult { show: boolean; role: 'alert' | 'status'; } /** * Shared logic for the helper-text row beneath input components. * Returns `show` (whether the slot should render) and `role` (ARIA live-region role). * Emits a dev-mode warning when `error` is set but `message` is empty. */ export declare function useHelperSlot(component: string, error: boolean | undefined, message: ReactNode, reserveHelperText?: boolean, readOnly?: boolean): UseHelperSlotResult;