import { Cell, Optional } from '@ephox/katamari';
const init = () => {
    const cell = Cell(Optional.none());
    const clear = () => cell.set(Optional.none());
    const readState = () => cell.get().getOr('none');
    return {
        readState,
        get: cell.get,
        set: cell.set,
        clear
    };
};
export { init };
//# sourceMappingURL=ReflectingState.js.map