import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import { FilterFieldRuntimeContext } from '../../lib/column-filter-context.js'; import { ActiveFilter } from '../../lib/table-properties-types.js'; import { ColumnDef } from './types.js'; import '../../lib/column-filter-person-options.js'; import '../../lib/column-cell-kind.js'; import '../../lib/status-badge-tints.js'; interface FilterPillProps { filter: ActiveFilter; columns: ColumnDef[]; fieldContext?: FilterFieldRuntimeContext; /** * Whether this pill's editor is the open one. Controlled from the toolbar's * single `openFilterId` rather than per-pill state: two editors open at once * is never a state the user asked for, and it happened whenever an overlay * that Radix would not dismiss (any modal menu) sat between them. */ open?: boolean; onOpenChange?: (open: boolean) => void; onUpdate: (id: string, patch: Partial) => void; onRemove: (id: string) => void; /** Optional custom cell renderer for filter option values */ renderOptionValue?: (fieldKey: string, value: string) => React.ReactNode; } declare function FilterPillBase({ filter, columns, fieldContext, open, onOpenChange, onUpdate, onRemove, renderOptionValue, }: FilterPillProps): react_jsx_runtime.JSX.Element | null; declare const FilterPill: typeof FilterPillBase; export { FilterPill };