import { ReactElement } from 'react'; /** * BulkContactTagActions — the Contacts table's bulk "Tags" action. A single * checklist of the user's tags shows which are already on the selection * (checked = on all selected, indeterminate = on some); toggling adds to, or * removes from, every selected contact. A new tag can be created from the * search. Pure & controlled. */ interface BulkTagOption { name: string; /** How many of the selected contacts already carry this tag. */ onCount: number; } interface BulkContactTagActionsProps { /** How many contacts are selected. */ selectedCount: number; /** The tag library with per-selection counts. */ options: BulkTagOption[]; /** Add a tag to every selected contact. */ onAdd: (name: string) => void; /** Remove a tag from every selected contact. */ onRemove: (name: string) => void; /** Allow creating a new tag from the search. Defaults to true. */ allowCreate?: boolean; } declare function BulkContactTagActions({ selectedCount, options, onAdd, onRemove, allowCreate, }: BulkContactTagActionsProps): ReactElement; export { BulkContactTagActions, type BulkContactTagActionsProps, type BulkTagOption, BulkContactTagActions as default };