import { UseStreamOptions as UseStreamOptions$1, UseStreamReturn } from "./use-stream.cjs"; import { InferStateType } from "@langchain/langgraph-sdk/stream"; //#region src/suspense-stream.d.ts /** * Return shape of {@link useSuspenseStream}. Identical to the * {@link UseStreamReturn} surface except: * * - `isLoading` / `isThreadLoading` / `hydrationPromise` are removed * (Suspense and Error Boundaries handle those phases). * - `isStreaming: boolean` is added so callers can show a streaming * indicator distinct from the suspended initial-load state. */ type UseSuspenseStreamReturn, InterruptType = unknown, ConfigurableType extends object = Record> = Omit, "isLoading" | "isThreadLoading" | "hydrationPromise"> & { /** * Whether the stream is currently receiving data from the server. * Unlike the suspended initial-load state, the component stays * mounted while `isStreaming` is `true`. */ isStreaming: boolean; }; declare function useSuspenseStream>(options: UseStreamOptions$1>): UseSuspenseStreamReturn; //#endregion export { UseSuspenseStreamReturn, useSuspenseStream }; //# sourceMappingURL=suspense-stream.d.cts.map