"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractTextContent = extractTextContent;
const isText_1 = require("./isText");
const isTextField_1 = require("./isTextField");
const getNodeApparentTextContent_1 = require("./util/style/getNodeApparentTextContent");
function extractTextContent(component) {
    const textContent = (0, isText_1.isTextLike)(component) || (0, isTextField_1.isTextField)(component.$element)
        ? (0, getNodeApparentTextContent_1.getNodeApparentTextContent)(component.$element)
        : '';
    return textContent;
}
//# sourceMappingURL=textContent.js.map