export declare function beginSSR(identifierPrefix?: string): void; export declare function endSSR(): void; export declare function pushContext(context: any, value: any): void; export declare function popContext(context: any): void; export type ContextSnapshot = Array<{ context: any; value: any; }>; export declare function snapshotContexts(): ContextSnapshot; /** * Push snapshot values and return a function that pops them. * Called when we re-render a suspended boundary so it sees the same provider * values that were active at suspension time. */ export declare function applyContextSnapshot(snapshot: ContextSnapshot): () => void; export declare const ssrDispatcher: { useState(initial: S | (() => S)): [S, any]; useReducer(_reducer: (s: S, a: A) => S, initialArg: any, init?: (a: any) => S): any[]; useEffect(): void; useLayoutEffect(): void; useInsertionEffect(): void; useRef(initial: T): { current: T; }; useMemo(factory: () => T): T; useCallback(fn: T): T; useContext(ctx: any): T; useImperativeHandle(): void; useDebugValue(): void; useId(): string; useTransition(): [boolean, (fn: () => void) => void]; useDeferredValue(v: T): T; useSyncExternalStore(_subscribe: (cb: () => void) => () => void, getSnapshot: () => T, getServerSnapshot?: () => T): T; use(resource: any): T; }; export declare function installSSRDispatcher(): void; export declare function uninstallSSRDispatcher(): void;