"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isImportDeclaration = isImportDeclaration;
exports.isProgram = isProgram;
exports.isImportSpecifierArray = isImportSpecifierArray;
exports.isImportDefaultSpecifier = isImportDefaultSpecifier;
exports.isSingleDefaultImport = isSingleDefaultImport;
function isImportDeclaration(node) {
    return node.type === "ImportDeclaration";
}
function isProgram(node) {
    return node.type === "Program";
}
function isImportSpecifierArray(items) {
    return items.every((item) => item.type === "ImportSpecifier");
}
function isImportDefaultSpecifier(item) {
    return item.type === "ImportDefaultSpecifier";
}
function isSingleDefaultImport(items) {
    return items.length === 1 && isImportDefaultSpecifier(items[0]);
}
//# sourceMappingURL=guards.js.map