src/language-css/utils/index.js/insideICSSRuleNode
function insideICSSRuleNode(path) {
  const ruleAncestorNode = getAncestorNode(path, "css-rule");
  const selector = ruleAncestorNode?.raws?.selector;

  return (
    selector &&
    (selector.startsWith(":import") || selector.startsWith(":export"))
  );
}