//#region src/hooks/useDeferred.d.ts /** * Read a deferred promise published by `defer({ deferred: { : Promise } })` * inside an SSR data loader. * * - **Server render**: returns the actual loader-returned promise. Combine * with `` + `use(promise)` for native streaming via React 19's * `renderToReadableStream`. * - **Post-hydration**: returns a registry-backed promise; the inline * `` tags emitted by the server * stream resolve it. `use()` returns synchronously once the registry * settles. * - **Unknown key**: returns a never-resolving promise — Suspense boundary * stays in fallback. This surfaces consumer/loader key drift as a visible * loading state instead of a silent runtime error. * * The hook subscribes to `RouteContext`, so it re-runs on every navigation. * Promise reference identity is stable across renders within the same * navigation — `use()` will not re-suspend on rerenders. */ declare function useDeferred(key: string): Promise; //#endregion export { useDeferred as t }; //# sourceMappingURL=useDeferred-2fAqMTwr.d.ts.map