import * as react_jsx_runtime from 'react/jsx-runtime';
import { SortRule } from '../../lib/table-properties-types.js';

/** Sort rule card inside the Sort drawer panel */
type DrawerSortCardProps = {
    rule: SortRule;
    /**
     * Resolved column label for the sort rule's `fieldKey`. Required — every
     * consumer derives labels from its column defs (the drawer passes
     * `resolveColumnLabel(rule.fieldKey)`), so the card never falls back to a
     * product-specific column list.
     */
    fieldLabel: string;
    isPrimary: boolean;
    onRemove: () => void;
    onToggleDir: () => void;
};
declare function DrawerSortCard(props: DrawerSortCardProps): react_jsx_runtime.JSX.Element | null;

export { DrawerSortCard, type DrawerSortCardProps };
