interface PageSectionEditorProps {
    /** undefined when creating a new page (`/pages/new`) */
    documentId?: string;
    /**
     * Parent page to preselect on a new page — set when arriving via
     * "Add sub-page" in the Pages tree view (`/pages/new?parent=<id>`).
     * Ignored when `documentId` is present.
     */
    initialParentId?: string | null;
    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, initialParentId, config, session, onNavigate, onOpenPreview, }: PageSectionEditorProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=PageSectionEditor.d.ts.map