import * as react_jsx_runtime from 'react/jsx-runtime';
import * as React from 'react';
import { FilterFieldDef, ActiveFilter, ConditionalRule } from '../../lib/table-properties-types.js';

type DrawerFilterCardBaseProps = {
    fieldDef: FilterFieldDef;
    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<ActiveFilter>) => void;
}) | (DrawerFilterCardBaseProps & {
    variant: "conditional";
    filter: ConditionalRule;
    onUpdate: (id: string, patch: Partial<ConditionalRule>) => 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 };
