import type { MountRouterOptions, RenderProps } from "@nifrajs/web"; export { errorBoundary } from "./error.js"; /** Hydrate a server-rendered React layout `chain` (with the loader `props`) inside `container`. */ export interface HydrationAssuranceOptions { readonly onRecoverableError?: (error: unknown, info?: unknown) => void; } export declare function hydrate(chain: readonly unknown[], props: RenderProps, container: unknown, options?: HydrationAssuranceOptions): void; /** Testing hook used by verification runners to observe React's recoverable errors and identity. */ export declare const hydrationAssuranceHook: Readonly<{ framework: "react"; runtimeIdentity: () => object; }>; /** * Hydrate a stateful React Router. `useSyncExternalStore` subscribes to the agnostic store and * re-renders the matched layout chain on each store change - so client navigations swap routes * without a full reload. `getServerSnapshot` (3rd arg) returns the initial state, matching the * SSR markup on hydration. */ export declare function mountRouter(options: MountRouterOptions): void; //# sourceMappingURL=client.d.ts.map