import{analyzeRobots as e}from"../analysis/analyzeRobots.mjs";const t=async(t,n,r)=>{let i=await e(t,n);r({type:`robots_robotsPresent`,status:i.robotsPresent?`success`:`warning`,data:{successDetails:i.robotsPresent?!0:void 0,warningsDetails:i.robotsPresent?void 0:`No robots.txt found`,errorsDetails:i.errors.length>0?i.errors:void 0}}),i.robotsPresent&&r({type:`robots_noLocalizedUrlsForgotten`,status:i.noLocalizedUrlsForgotten?`success`:`error`,data:{successDetails:i.noLocalizedUrlsForgotten?!0:void 0,errorsDetails:i.noLocalizedUrlsForgotten?void 0:i.errors}})};export{t as checkRobots};
//# sourceMappingURL=robotsChecker.mjs.map