import "@pretextbook/visual-editor/styles"; import "./index.css"; export { default as Editors } from "./components/Editors"; export type { editorProps } from "./components/Editors"; export { convertLatexToPretext, derivePretextContent, detectSourceFormat, } from "./contentConversion"; export type { Asset, AssetKind, EditorContentChange, EditorContentState, FeedbackSubmission, SourceFormat, } from "./types/editor"; export type { Division, DivisionType, /** @deprecated Use `DivisionType` instead. */ DocumentSectionType, /** @deprecated Use `Division` instead. */ DocumentSection, /** @deprecated Chapters are now plain `Division` records with type `"chapter"`. */ DocumentChapter, } from "./types/sections"; export type { DivisionTreeNode } from "./sectionUtils"; export { assembleProjectSource, assembleFullProjectSource, parseDivisionRefs, insertDivisionRef, removeDivisionRef, moveDivisionRef, renameDivisionRef, findDivisionParent, reorderDivisionRefs, normalizeSelfClosingRefs, getOrphanedDivisions, getOrphanRoots, buildDivisionTree, wrapDivisionForPreview, updateDivisionTitle, createNewSection, createIntroduction, createConclusion, stripSectionWrapper, rewrapSection, ensureSectionWrapper, mergeTwoSections, getSectionAttributes, updateSectionMetadata, extractDivisionMetadata, stripLatexSectionWrapper, rewrapLatexSection, ensureLatexSectionWrapper, updateLatexSectionTitle, extractLatexDivisionTitle, createNewLatexSection, createLatexIntroduction, createLatexConclusion, } from "./sectionUtils"; export { default as CodeEditor } from "./components/CodeEditor"; export { VisualEditor } from "@pretextbook/visual-editor"; export { default as FullPreview } from "./components/FullPreview"; export { default as FeedbackLink } from "./components/FeedbackLink"; export { default as DocinfoEditor } from "./components/DocinfoEditor"; export type { DocinfoEditorProps, DocinfoEditorCloseValue, } from "./components/DocinfoEditor"; export { postToIframe } from "./components/postToIframe";