//#region src/core/react-dispatcher.d.ts /** * Runs a resource body with tap's React dispatcher installed, so real React * hooks called inside it (`import { useState } from "react"`) route to tap, then * restores the previous dispatcher. If React's internal dispatcher slot can't be * found (an unsupported React version), the body runs unchanged and `react` * hooks inside it keep throwing React's "invalid hook call". */ declare function withReactDispatcher(render: () => T): T; //#endregion export { withReactDispatcher }; //# sourceMappingURL=react-dispatcher.d.ts.map