import React from 'react'; import type { IMutField, ISemanticType } from '../../interfaces'; export type ISortDirection = 'ascending' | 'descending'; interface ColumnHeaderProps { field: IMutField; sort?: ISortDirection; filtered?: boolean; hideSemanticType?: boolean; semanticTypeOptions: { value: ISemanticType; label: string; }[]; /** cycles descending → ascending → none; omitted when sorting is disabled */ onToggleSort?: () => void; onSort?: (sort: ISortDirection | null) => void; /** opens the filter dialog; omitted when filtering is disabled */ onFilter?: () => void; onClearFilter?: () => void; /** omitted when the semantic type is read-only */ onChangeSemanticType?: (semanticType: ISemanticType) => void; } export declare function ColumnHeader(props: ColumnHeaderProps): React.JSX.Element; export {};