import e from"./addEmptyLineBefore.mjs";import{assert as o}from"./validateTypes.mjs";import r from"./removeEmptyLinesBefore.mjs";function t({node:t,newline:a,action:m}){switch(o(a),m){case"add":e(t,a);break;case"remove":r(t,a);break;default:throw new TypeError(`Unknown action ${m}`)}}export{t as default};