import 'server-only'; import type { EditPageComponent, EditViewOptions } from './types.js'; import { type ComponentFactory } from '@remkoj/optimizely-cms-react/rsc'; /** * Create the EditPage component needed by Next.JS to render the "On Page * Editing" variant of the content item selected by the editor. * * @param factory The component factory to be used * @param options The optional options to use to control the edit page * @returns The React Component that can be used by Next.JS to render the page */ export declare function createEditPageComponent(factory: ComponentFactory, options?: Partial>): EditPageComponent; export default createEditPageComponent;