/** * useStream — progressive text (LLM-token-style). Returns a string signal * that accumulates the source's chunks. * * - Server, streaming: tokens append into the page as they arrive; the * final text swaps in and is serialized under `key`. * - Server, blocking: drained fully, final text inline. * - Client, hydrating: final text restored from `key` — the source is NOT * re-run (no duplicate LLM calls). * - Client, navigation: runs live; the signal updates per chunk. * * This module provides the default CLIENT semantics. Server renderers * install a per-instance provider (`_useStream` on the setup context) that * takes over during SSR. */ export declare function useStream(key: string, source: () => AsyncIterable): { readonly value: string; }; //# sourceMappingURL=use-stream.d.ts.map