/**
 * Copyright IBM Corp. 2024, 2025
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */
import React, { ReactNode, RefObject } from 'react';
export interface TagOverflowItem {
    className?: string;
    /**
     * @deprecated The `filter` prop is no longer going to be used. To use DismissibleTags, pass in an onClose function.
     */
    filter?: boolean;
    id: string;
    label: string;
    onClose: () => void;
    tagType?: 'red' | 'magenta' | 'purple' | 'blue' | 'cyan' | 'teal' | 'green' | 'gray' | 'cool-gray' | 'warm-gray' | 'high-contrast' | 'outline';
    type?: string;
}
export interface TagOverflowProps {
    align?: 'start' | 'center' | 'end';
    allTagsModalAriaLabel?: string;
    allTagsModalSearchLabel?: string;
    allTagsModalSearchPlaceholderText?: string;
    allTagsModalTarget?: ReactNode;
    allTagsModalTitle?: string;
    autoAlign?: boolean;
    className?: string;
    /**
     * @deprecated The `containingElementRef` prop is no longer going to be used in favor of the forwarded ref.
     */
    containingElementRef?: RefObject<HTMLDivElement>;
    items: TagOverflowItem[];
    maxVisible?: number;
    /**
     * @deprecated The `measurementOffset` prop is no longer going to be used. This value will now be calculated automatically.
     */
    measurementOffset?: number;
    /**
     * @deprecated The `multiline` prop is no longer going to be used. This component should only be used when you need to hide overflowing items.
     */
    multiline?: boolean;
    overflowAlign?: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'left-bottom' | 'left-top' | 'right' | 'right-bottom' | 'right-top';
    overflowClassName?: string;
    overflowType?: 'default' | 'tag';
    onOverflowTagChange?: (value: {
        hiddenItems?: TagOverflowItem[];
        minWidth?: number;
        maxWidth?: number;
    }) => void;
    showAllTagsLabel?: string;
    tagComponent?: string;
}
export declare const TagOverflow: React.ForwardRefExoticComponent<TagOverflowProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=TagOverflow.d.ts.map