import type { DocumentSection } from "../../types/sections";
import type { EditDraft } from "./types";
interface SectionListProps {
    sections: DocumentSection[];
    currentSectionId: string | null;
    activeDragId: string | null;
    dropTarget: {
        id: string;
        position: "before" | "after";
    } | null;
    mergeTargetId: string | null;
    editingId: string | null;
    editDraft: EditDraft | null;
    isLatex: boolean;
    readonly: boolean;
    listClassName: string;
    role: "list" | "group";
    onSelectSection: (id: string) => void;
    onStartEdit: (section: DocumentSection) => void;
    onRemove: (section: DocumentSection) => void;
    onDraftChange: (draft: EditDraft) => void;
    onEditCommit: () => void;
    onEditCancel: () => void;
    onAddFirstSection?: () => void;
    onAddSection: () => void;
    onAddIntroduction: () => void;
    onAddConclusion: () => void;
    /**
     * Override for the per-item drag toggle.  See `SortableSectionItem.dragEnabled`.
     * Forwarded to every section in the list.
     */
    dragEnabled?: boolean;
}
/**
 * Renders a single sortable list of sections.  Does NOT include its own
 * `DndContext` or `DragOverlay` — the caller wraps this in a `DndContext`
 * and is responsible for rendering the overlay alongside it.
 */
declare const SectionList: ({ sections, currentSectionId, activeDragId, dropTarget, mergeTargetId, editingId, editDraft, isLatex, readonly, listClassName, role, onSelectSection, onStartEdit, onRemove, onDraftChange, onEditCommit, onEditCancel, onAddFirstSection, onAddSection, onAddIntroduction, onAddConclusion, dragEnabled, }: SectionListProps) => import("react/jsx-runtime").JSX.Element;
export default SectionList;
