"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var re_reselect_1 = __importDefault(require("re-reselect"));
var get_chart_id_1 = require("../../../../state/selectors/get_chart_id");
var get_heatmap_config_1 = require("./get_heatmap_config");
exports.isBrushAvailableSelector = re_reselect_1.default([get_heatmap_config_1.getHeatmapConfigSelector], function (config) {
    return Boolean(config.onBrushEnd) && config.brushTool.visible;
})(get_chart_id_1.getChartIdSelector);
exports.isBrushEndProvided = re_reselect_1.default([get_heatmap_config_1.getHeatmapConfigSelector], function (config) {
    return Boolean(config.onBrushEnd);
})(get_chart_id_1.getChartIdSelector);
//# sourceMappingURL=is_brush_available.js.map