UNPKG

rwsdk

Version:

Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime

8 lines (7 loc) 876 B
import "./types/ssr"; import type { NavigationPendingOptions, NavigationPendingProps } from "../client/navigationPending.js"; import type { NavigationSnapshot } from "../client/navigationState.js"; export * from "../lib/streams/consumeEventStream"; export declare const navigate: () => void; export declare function useNavigationPending(_options?: NavigationPendingOptions): NavigationSnapshot; export declare function NavigationPending({ children }: NavigationPendingProps): string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | null;