declare function box(get: () => T, set: (v: T) => void): { value: T; }; declare global { /** * Boxes a value, allowing it to be mutated across boundaries while staying in sync. */ function $box(value: T): { value: T; }; } export { box };