import { type ReactNode } from 'react'; import type { PublishedFunnelRuntimeConfig } from '../services/funnel-runtime-config.js'; /** Public request data only. Identity is not authorization for private user data. */ export type FunnelServerBootstrap = { protocolVersion: 1; hostname: string; pathname: string; search: string; userId: string; identitySource: 'url' | 'cookie' | 'new'; featureFlags: Record; publication: PublishedFunnelRuntimeConfig; }; /** The same snapshot must wrap both the server render and browser hydration. */ export declare function FunnelServerBootstrapProvider({ snapshot, children }: { snapshot: FunnelServerBootstrap; children: ReactNode; }): import("react/jsx-runtime").JSX.Element; export declare const useFunnelServerBootstrap: () => FunnelServerBootstrap | null; /** The controller releases publication updates after recording the first visit. */ export declare const useFunnelServerInitialRender: () => { completed: boolean; complete: () => void; };