import{isRule as e,isAtRule as r}from"./typeGuards.mjs";function a(a,{noRawBefore:t}={noRawBefore:!1}){let o="";const s=a.raws.before||"";if(t||(o+=s),e(a))o+=a.selector;else{if(!r(a))return"";o+=`@${a.name}${a.raws.afterName||""}${a.params}`}return o+=a.raws.between||"",o}export{a as default};