import{n as e}from"./_chunks/rolldown-runtime.mjs";import{n as t,t as n}from"./_chunks/_format.mjs";import{n as r,t as i}from"./_chunks/libs/json5.mjs";var a=e(r(),1),o=e(i(),1);function s(e,n){let r=(0,a.default)(e,n?.reviver);return t(e,r,n),r}function c(e,t){let r=n(e,t),i=(0,o.default)(e,t?.replacer,r.indent);return r.whitespace.start+i+r.whitespace.end}export{s as parseJSON5,c as stringifyJSON5};