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, type AriaLabelingProps } from '@dynatrace/strato-components/core'; /** * @public */ export type TimeframeSelectorCustomTriggerProps = AriaLabelingProps & StylingProps & DataTestId & { /** Elements to be displayed in the CustomTrigger. */ children: ReactNode | undefined | ((customTriggerProps: { displayValue: ReactNode; isInvalid: boolean; hint: string; }, props: (AriaLabelingProps & StylingProps & DataTestId & (Partial>> & AriaButtonProps)) | null) => ReactElement); }; /** * Typeguard function that will check if a ReactNode is a TimeframeSelector.CustomTrigger * @internal */ export declare function _isTimeframeSelectorCustomTriggerElement(child: ReactNode): child is ReactElement; /** * A trigger component to customize a timeframe selector's trigger. * It applies all necessary props on the first and closest child, * which, therefore, should be an interactive element. * @public */ export declare const CustomTrigger: { (props: TimeframeSelectorCustomTriggerProps): ReactElement> | null; displayName: string; };