import { reactive } from "vue";
import { LS_KEYS } from "@scalar/helpers/object/local-storage";
import { mutationFactory } from "@scalar/object-utils/mutator-record";
//#region src/store/cookies.ts
/** Create cookie mutators for the workspace */
function createStoreCookies(useLocalStorage) {
	const cookies = reactive({});
	return {
		cookies,
		cookieMutators: mutationFactory(cookies, reactive({}), useLocalStorage && LS_KEYS.COOKIE)
	};
}
//#endregion
export { createStoreCookies };

//# sourceMappingURL=cookies.js.map