"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var cssQueryList_1 = require("./cssQueryList");
var manaFlattenTree_1 = require("./manaFlattenTree");
var OBJECT = 'object';
function queryTree(node, query, options) {
    if (!node || typeof node !== OBJECT) {
        return [];
    }
    return cssQueryList_1.default(manaFlattenTree_1.default(node, options), query, options);
}
exports.default = queryTree;
//# sourceMappingURL=cssQueryTree.js.map