export { u as useHydrateData, a as usePrerenderData, b as useSuspenseData, c as useWebflowContext } from './useWebflowContext-CpjgEEiw.js'; export { P as PrerenderDataKey, a as PrerenderDataMode, b as PrerenderDataProvider, c as PrerenderDataProviderProps } from './PrerenderDataProvider-Ca3K6_i_.js'; import * as React from 'react'; import { WebflowContext } from '@webflow/data-types'; export { PrerenderDataValue } from '@webflow/data-types'; import { WhenFunctionsReady } from '@webflow/functions'; type FunctionInvocationContextValue = { fetch?: typeof globalThis.fetch; signal?: AbortSignal; }; type FunctionInvocationProviderProps = FunctionInvocationContextValue & { children?: React.ReactNode; }; /** * Per-prerender `fetch` and `AbortSignal` for `useFunction`. * Not an author API — installed by `prerenderElementToString`. * The signal is always set during prerender and aborted when the render * ends; `fetch` is only set when the host injects a transport. */ declare function FunctionInvocationProvider({ fetch, signal, children, }: FunctionInvocationProviderProps): React.FunctionComponentElement>; /** * Returns prerender-injected fetch/signal, or `{}` when no provider is present * (client hydration, tests) so `useFunction` falls back to `globalThis.fetch`. */ declare function useFunctionInvocation(): FunctionInvocationContextValue; declare const WebflowContextProvider: ({ webflowContext, children, }: { webflowContext?: WebflowContext; children: React.ReactNode; }) => React.JSX.Element; declare function useWhenFunctionsReady(): WhenFunctionsReady | undefined; export { type FunctionInvocationContextValue, FunctionInvocationProvider, type FunctionInvocationProviderProps, WebflowContextProvider, useFunctionInvocation, useWhenFunctionsReady };