"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getScreenReaderDataSelector = exports.EMPTY_SCREEN_READER_ITEMS = void 0;
const get_accessibility_config_1 = require("./get_accessibility_config");
const get_internal_chart_type_desc_1 = require("./get_internal_chart_type_desc");
const create_selector_1 = require("../create_selector");
exports.EMPTY_SCREEN_READER_ITEMS = [];
exports.getScreenReaderDataSelector = (0, create_selector_1.createCustomCachedSelector)([get_accessibility_config_1.getA11ySettingsSelector, get_internal_chart_type_desc_1.getInternalChartTypeDescSelector], (a11ySettings, chartTypeDescription) => {
    return chartTypeDescription
        ? [{ label: 'Chart type', id: a11ySettings.defaultSummaryId, value: chartTypeDescription }]
        : exports.EMPTY_SCREEN_READER_ITEMS;
});
//# sourceMappingURL=get_screenreader_data.js.map