import { type ReactElement, type ReactNode } from 'react'; 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'; /** * @public */ export interface FilterBarItemProps extends StylingProps, DataTestId, BehaviorTrackingProps { /** A unique identifier for this sub-filter (must only be unique for this filter). In case custom labels are used without text children, this is displayed on the MoreMenu trigger instead. */ name: string; /** Description text of this sub-filter. If you use a custom label without text children, the name will be displayed on the MoreMenu instead. */ label: ReactNode; /** Only one element, is expected here. */ children: ReactElement; /** Defines if the label is shown for the filter item. If set specifically, it also overwrites the general configuration set with the showLabels prop on the FilterBar for one item. */ showLabel?: boolean; } /** * FilterBar.Item component, used for rendering custom filters inside the filter bar. Requires a unique name prop in order to keep track of the filter. * @public */ export declare const Item: { (props: FilterBarItemProps): import("react/jsx-runtime").JSX.Element; displayName: string; };