import { type AnchorHTMLAttributes, type ReactElement, type ReactNode } from 'react'; import type { _AriaButtonProps as AriaButtonProps, _ButtonAria as ButtonAria } from '@dynatrace/strato-components/buttons'; import { type DataTestId, type StylingProps } from '@dynatrace/strato-components/core'; /** * Accepted properties for SegmentSelector customized trigger. * @public */ export type SegmentSelectorCustomTriggerProps = StylingProps & DataTestId & { /** 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; };