import type { IntlShape } from 'react-intl'; import type { SegmentSelectorProps } from '../SegmentSelector.js'; /** * Gets the display value props for showing the text or loading state, as well as aria props. * @internal */ export declare function useTriggerProps(variant: SegmentSelectorProps['variant'], intl: IntlShape, remainingProps: SegmentSelectorProps): { isLoading: boolean; text: string | null; ariaProps: { 'aria-label': string | undefined; 'aria-disabled': (boolean | "false" | "true") | undefined; 'aria-labelledby'?: string; 'aria-describedby'?: string; 'aria-details'?: string; }; };