interface PageSectionEditorProps {
    /** undefined when creating a new page (`/pages/new`) */
    documentId?: string;
    config?: any;
    session?: any;
    onNavigate: (path: string) => void;
    /**
     * Open a preview route in a new browser tab. `prepare` runs before the tab
     * navigates (used to save an unsaved draft first); returning `false` cancels
     * the open. Falls back to in-tab navigation when not provided.
     */
    onOpenPreview?: (path: string, prepare?: () => Promise<boolean | void> | boolean | void) => void;
}
export declare function PageSectionEditor({ documentId, config, session, onNavigate, onOpenPreview, }: PageSectionEditorProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=PageSectionEditor.d.ts.map