import React from "react"; import type { CreateP1EditorClientOptions } from "./editor-client/types"; /** * Builds the editor client component a Next.js app mounts at its P1 editor * route, navigating with the Next.js App Router. * * @example * ```tsx * // app/p1/(editor)/[[...p1]]/editor-client.tsx * "use client"; * import { createP1EditorClient } from "@pantheon-systems/p1-next-sdk"; * import "@pantheon-systems/p1-next-sdk/editor.css"; * import config from "@/puck.config"; * * export const EditorClientWrapper = createP1EditorClient({ * puckConfig: config, * signInPage: , * }); * ``` */ export declare function createP1EditorClient(options: CreateP1EditorClientOptions): () => React.JSX.Element;