import { type ReactNode, type Ref } from "react"; /** * @internal */ export interface IFilterGroupItemProps { /** * Title of the filter group item. * * @beta */ title?: string; /** * subtitle of the filter group item. * * @beta */ subtitle?: string; /** * Selected items count * * @remarks * - If value is 0 for {@link @gooddata/sdk-model#IPositiveAttributeFilter} means NONE items are selected * * - If value is 0 for {@link @gooddata/sdk-model#INegativeAttributeFilter} means ALL items are selected * * @beta */ selectedItemsCount?: number; /** * Total items count. Shown beside the selected items count if showSelectionCount is true. * * @beta */ totalItemsCount?: number; /** * * @beta */ showSelectionCount?: boolean; /** * If true, the Filter group item is opened and renders its opened look. * * @beta */ isOpen?: boolean; /** * If true, the Filter group item component renders in loading state. * * @beta */ isLoading?: boolean; /** * If true, all the initialization has finished. * * @beta */ isLoaded?: boolean; /** * Icon shown within the FilterGroupItem infront of the title. * * @beta */ icon?: ReactNode; /** * Allows adding content to the button after the title. * * @alpha */ titleExtension?: ReactNode; /** * Callback to open or close filter. * * @beta */ onClick?: () => void; isError?: boolean; /** * Ref to the filter group item component. * * @beta */ buttonRef?: Ref; /** * Id to link the dropdown body. Mainly for accessibility purposes. * * @beta */ dropdownId?: string; /** * Specifies the visibility mode of the filter. * * @alpha */ disabled?: boolean; } export declare const ALIGN_POINT: { align: string; offset: { x: number; y: number; }; }[]; /** * @internal */ export declare function FilterGroupItem({ title, subtitle, selectedItemsCount, totalItemsCount, showSelectionCount, isOpen, isLoading, isLoaded, isError, icon, titleExtension, onClick, buttonRef, dropdownId, disabled, }: IFilterGroupItemProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=FilterGroupItem.d.ts.map