import { useAdaptable } from '../AdaptableContext';
export const useGridFilterOptionsForExpressionEditorProps = () => {
    const adaptable = useAdaptable();
    const gridFilterEditors = adaptable.api.optionsApi.getFilterOptions().gridFilterOptions.availableFilterEditors;
    return {
        showQueryBuilder: gridFilterEditors.includes('QueryBuilder'),
        showExpressionEditor: gridFilterEditors.includes('ExpressionEditor'),
    };
};
