import { type ReactNode } from "react"; import type { P1EditorRouter } from "./editor-client/types"; /** * The Next.js App Router as a P1 router: what the P1 editor navigates with, and * what `P1NextRouterProvider` provides to P1 components. It has no side effects, * so it may be called any number of times in a tree. */ export declare function useP1NextRouter(): P1EditorRouter; /** Refreshes on history navigation, unless a component above already does. */ export declare function HistoryRefreshOwner({ children }: { children: ReactNode; }): import("react").JSX.Element; export declare function P1NextRouterProvider({ children }: { children: ReactNode; }): import("react").JSX.Element;