import n from"node:process";const t={COMMONJS_PLUGINS:"001",COMMONJS_NODEJS_API:"002",RESULT_OUTPUT_PROPERTY:"003",GITHUB_FORMATTER:"004",CONTEXT_FIX:"005",RULE:"006",REPORT_AMBIGUOUS_POSITION:"007"},e={SUPPRESSIONS:"101"},i=new Set;function o(t,e,o,O){const S=JSON.stringify({message:t,options:{type:e,code:`stylelint:${o}`,detail:O}});i.has(S)||(i.add(S),n.emitWarning(t,{type:e,code:`stylelint:${o}`,detail:O}))}function O(n,e,i){o(n,"DeprecationWarning",t[e],i)}function S(n,t,i){o(n,"ExperimentalWarning",e[t],i)}export{O as emitDeprecationWarning,S as emitExperimentalWarning};