import React from "react"; import type { RehydrationContextValue } from "./types.js"; import type { Stringify } from "./serialization.js"; /** * @public */ export interface HydrationContextOptions { /** * Props that will be passed down to `script` tags that will be used to transport * data to the browser. * Can e.g. be used to add a `nonce`. */ extraScriptProps?: ScriptProps; } type SerializableProps = Pick; type ScriptProps = SerializableProps>; export declare function buildApolloRehydrationContext({ insertHtml, stringify, extraScriptProps, }: HydrationContextOptions & { insertHtml: (callbacks: () => React.ReactNode) => void; stringify: Stringify; }): RehydrationContextValue; export {}; //# sourceMappingURL=RehydrationContext.d.ts.map