import type { DocumentSection, DocumentSectionType } from "../../types/sections";
export interface ArticleTocProps {
    sections: DocumentSection[];
    currentSectionId: string | null;
    onSelectSection: (id: string) => void;
    onAddSection: (afterId: string | null) => void;
    onAddIntroduction: () => void;
    onAddConclusion: () => void;
    onRemoveSection: (id: string) => void;
    onUpdateSection: (id: string, changes: {
        title?: string;
        type?: DocumentSectionType;
        xmlId?: string | null;
        label?: string | null;
    }) => void;
    onReorderSections: (sections: DocumentSection[]) => void;
    onMergeSections?: (sourceId: string, targetId: string) => void;
    onAddFirstSection?: () => void;
    editMode: "document" | "sectioned";
    onToggleEditMode: () => void;
    readonly: boolean;
}
/**
 * Article-mode TOC body.  Renders a single flat section list with full
 * section drag-and-drop (reorder + merge gesture) and the "Edit full
 * document" back-link when in sectioned mode.
 */
declare const ArticleToc: ({ sections, currentSectionId, onSelectSection, onAddSection, onAddIntroduction, onAddConclusion, onRemoveSection, onUpdateSection, onReorderSections, onMergeSections, onAddFirstSection, editMode, onToggleEditMode, readonly, }: ArticleTocProps) => import("react/jsx-runtime").JSX.Element;
export default ArticleToc;
