import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import { FilterFieldRuntimeContext } from '../../lib/column-filter-context.js'; import { FilterFieldDef, ActiveFilter, ConditionalRule } from '../../lib/table-properties-types.js'; import '../data-table/types.js'; import '../../lib/column-cell-kind.js'; import '../../lib/column-filter-person-options.js'; type DrawerFilterCardBaseProps = { fieldDef: FilterFieldDef; fieldContext?: FilterFieldRuntimeContext; expanded: boolean; onToggleExpand: () => void; onRemove: (id: string) => void; renderOptionLabel?: (value: string) => React.ReactNode; }; type DrawerFilterCardProps = (DrawerFilterCardBaseProps & { variant?: "filter"; filter: ActiveFilter; onUpdate: (id: string, patch: Partial) => void; }) | (DrawerFilterCardBaseProps & { variant: "conditional"; filter: ConditionalRule; onUpdate: (id: string, patch: Partial) => void; }); /** Inline filter card used inside the Table Properties drawer (filter or conditional rule). */ declare function DrawerFilterCard(props: DrawerFilterCardProps): react_jsx_runtime.JSX.Element; export { DrawerFilterCard, type DrawerFilterCardProps };