import type { DivisionType } from "../../types/sections"; import { type EditDraft } from "./types"; interface SectionEditFormProps { draft: EditDraft; /** True only while editing a division that hasn't been saved yet — only then is `sourceFormat` choosable. */ isNew?: boolean; /** The root division's type (book/article/slideshow) is structural and not user-editable. */ isRoot?: boolean; /** The type of the division this one is (or would be) nested under; `null` if unplaced. Determines which types are offered below. */ parentType?: DivisionType | null; onDraftChange: (draft: EditDraft) => void; onCommit: () => void; onCancel: () => void; } declare const SectionEditForm: ({ draft, isNew, isRoot, parentType, onDraftChange, onCommit, onCancel, }: SectionEditFormProps) => import("react").JSX.Element; export default SectionEditForm;