/** * Inline client runtime injected into the streamed HTML. Two jobs: * * 1. Reveal suspense boundaries as their resolved chunks arrive ($RC). * 2. Capture interaction events from the moment the shell is visible so the * main bundle can replay them against un-hydrated subtrees ($RE_q buffer). * * Wire format: * Fallback:
fallback
* Resolved: emits * which splices real into place and rewrites the comment to . * The fallback div is visible (it's the user-visible loading * state); only the resolved-content staging div is `hidden` * before $RC moves its children inline. * * Client hydration calls $RH(ID, cb) to register a callback invoked once the * boundary has been revealed (or immediately, if it was already revealed). * * Early-event buffering: before the main bundle is parsed, we attach capture * listeners for a small set of interactive events and push them into a buffer. * The bundle drains and replays them via the replay code in @tanstack/redact/dom. */ export declare const BOUNDARY_REVEAL_RUNTIME: string; export declare function injectBootstrapScript(nonce?: string): string; export declare function revealScript(id: number, nonce?: string): string;