import { createStore } from '@stencil/store';
import { checkoutMachine } from '../../../src/components/providers/form-state-provider/checkout-machine';
const { state, onChange, on, set, get, dispose } = createStore({
  formState: checkoutMachine.initialState,
}, (newValue, oldValue) => {
  return JSON.stringify(newValue) !== JSON.stringify(oldValue);
});
export default state;
export { state, onChange, on, set, get, dispose };
