import { type MouseEventHandler as ReactMouseEventHandler } from 'react'; import { type DataTestId, type StylingProps, type WithChildren } from '@dynatrace/strato-components/core'; /** * @public */ export interface ChipGroupControlProps extends WithChildren, StylingProps, DataTestId { /** * Whether to show more chips or collapse chips. * If undefined, the action is inferred. * If no more items are available and all items fit in one line, * the control is automatically hidden unless display is set. * @defaultValue inferred from the `expanded` / `defaultExpanded` prop of the `ChipGroup` */ display?: 'more' | 'less'; /** * Whether to render `Show more` or `Show x more` by default. * If true, the count is calculated automatically. The count can be overridden * by passing a number. * @defaultValue undefined */ count?: boolean | number; /** * Whether the control should show the loading indicator. * @defaultValue false */ loading?: boolean; /** Callback triggered when the control is interacted with. */ onClick?: ReactMouseEventHandler; } /** * @public */ export declare const Control: (props: ChipGroupControlProps) => import("react/jsx-runtime.js").JSX.Element | null;