/// import type { RenderNotFrontPayload } from '../components/render-not-front/RenderNotFront'; /** * The embedder's answer to "which page comes next". It receives the entries a * not-front session would have been sent (`sanitizeStateForNextUI`) and the * key that triggered the change. */ export type NextUIResolver = (entries: Record, triggerKey: string) => Promise; /** * Provided by `RenderNotFront` only with `stablePage` and `resolveNextUI`; * `null` everywhere else, which keeps the not-front session path. */ export declare const NextUIResolverContext: import("react").Context; export declare const useNextUIResolver: () => NextUIResolver | null;