import type { DocumentSection, DocumentSectionType } from "../../types/sections";
/** Draft state for the inline section edit form. */
export interface EditDraft {
    title: string;
    type: DocumentSectionType;
    xmlId: string;
    label: string;
}
/**
 * Draft state for the inline chapter edit form.  A chapter has no `type`
 * (it is always a chapter), so the draft only carries title, xml:id, and label.
 */
export interface ChapterEditDraft {
    title: string;
    xmlId: string;
    label: string;
}
export declare const TYPE_LABELS: Record<string, string>;
export declare const TYPE_FULL_LABELS: Record<string, string>;
/** Section-level division types that can be freely reordered. */
export declare const REGULAR_DIVISION_TYPES: DocumentSectionType[];
/** Returns true for section-level divisions that can be freely reordered. */
export declare function isRegularDivision(type: string): boolean;
/** Intro must be first, conclusion must be last. */
export declare function validateSectionOrder(sections: DocumentSection[]): boolean;
