UNPKG

rwsdk

Version:

Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime

10 lines (9 loc) 457 B
import { FC } from "react"; import { type DocumentProps } from "../lib/types"; import { type PartialRequestInfo, type RequestInfo } from "./types"; export declare const DefaultRequestInfoDocument: FC<DocumentProps>; /** * Constructs a generic requestInfo that can be used as defaults. * Allows for passing in overrides to initialize with defaults. */ export declare const constructWithDefaultRequestInfo: (overrides?: PartialRequestInfo) => RequestInfo;