import { type AnchorHTMLAttributes, type ReactElement, type ReactNode } from 'react';
import type { AriaButtonProps, ButtonAria } from '../../buttons/button/types/button-aria.js';
import type { BehaviorTrackingProps } from '../../core/types/behavior-tracking-props.js';
import { DataTestId } from '../../core/types/data-props.js';
import { StylingProps } from '../../core/types/styling-props.js';
/**
* Accepted properties for SegmentSelector customized trigger.
* @public
*/
export type SegmentSelectorCustomTriggerProps = StylingProps & DataTestId & BehaviorTrackingProps & {
/** Elements to be displayed in the CustomTrigger. */
children: ReactNode | ((customTriggerProps: {
displayValue: ReactNode;
isLoading: boolean;
}, props: (StylingProps & DataTestId & (Partial>> & AriaButtonProps)) | null) => ReactElement);
};
/**
* A trigger component to customize the SegmentSelector trigger.
* It applies all necessary props on the first and closest child,
* which, therefore, should be an interactive element.
* @experimental
*/
export declare const CustomTrigger: {
(props: SegmentSelectorCustomTriggerProps): ReactElement> | null;
displayName: string;
};