import type { SSRInitialData } from '../../store/type'; import type { PrefetchOptions } from './types'; type PrefetchPromise = Promise; export declare function getMatchingPrefetchedInitialData(options: { backendURL: string; overrides?: PrefetchOptions['overrides']; credentials?: RequestCredentials; }): PrefetchPromise | undefined; /** * Generates a self-contained inline script that starts the `/init` * prefetch before framework hydration. * * @remarks * The returned string is safe for inline `` breakout. * * Framework adapters should inject this script as early as possible * (e.g. `beforeInteractive` in Next.js, `