"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 settings_1 = require("../../specs/settings");
var get_chart_id_1 = require("./get_chart_id");
var get_settings_specs_1 = require("./get_settings_specs");
exports.getTooltipHeaderFormatterSelector = re_reselect_1.default([get_settings_specs_1.getSettingsSpecSelector], getTooltipHeaderFormatter)(get_chart_id_1.getChartIdSelector);
function getTooltipHeaderFormatter(settings) {
    var tooltip = settings.tooltip;
    if (tooltip && settings_1.isTooltipProps(tooltip)) {
        return tooltip.headerFormatter;
    }
}
//# sourceMappingURL=get_tooltip_header_formatter.js.map