import { type ReactElement } from 'react'; import { type DOMProps, type DataTestId, type MaskingProps, type StylingProps, type WithChildren } from '@dynatrace/strato-components/core'; import type { FormControlBaseProps } from '../../core/types/form-control-props.js'; import type { FormControlWithOverlayRef } from '../../forms/shared-types.js'; /** * Accepted properties for SegmentSelector * @public */ export type SegmentSelectorProps = DOMProps & WithChildren & StylingProps & DataTestId & MaskingProps & Omit & { /** * Configures the style of the trigger. * @defaultValue 'default */ variant?: 'default' | 'compact'; /** Callback that is triggered when the open state of the SegmentSelector's overlay changes its open state. */ onOpenChange?: (isOpen: boolean) => void; }; /** * `SegmentSelector` is a top-level filter component that filters data by [Segments](https://docs.dynatrace.com/docs/shortlink/segments), setting the scope for additional filters. * * @public */ export declare const SegmentSelector: ((props: DOMProps & WithChildren & StylingProps & DataTestId & MaskingProps & Omit void>, "onChange" | "controlState"> & { /** * Configures the style of the trigger. * @defaultValue 'default */ variant?: "default" | "compact"; /** Callback that is triggered when the open state of the SegmentSelector's overlay changes its open state. */ onOpenChange?: (isOpen: boolean) => void; } & import("react").RefAttributes>) => React.ReactElement | null) & { CustomTrigger: { (props: import("./CustomTrigger.js").SegmentSelectorCustomTriggerProps): ReactElement> | null; displayName: string; }; };