/** * SuperDoc public facade: types entry. * * SD-3184 under SD-3178 (Phase 3 of SD-3175). Last large supported-surface * facade entry. Mirrors the 116-name surface today reachable via the * `superdoc/types` subpath — schema attributes, command maps, ProseMirror * JSON shapes, augmentation infrastructure, and theme types. * * Classification per SD-3147 (corrected): **26 public + 90 legacy/public-compat**. * All 116 re-exported through the facade — tier distinction is documentation * posture, not facade inclusion. * * The original SD-3147 classification labeled the command-augmentation * infrastructure (`CoreCommandMap`, `ExtensionCommandMap`, `EditorCommands`, * `CoreCommands`, `ExtensionCommands`, `CommandProps`, `Command`, * `ChainedCommand`, `ChainableCommandObject`, `CanCommand`, `CanObject`) * as `public, reason: augmentation-infrastructure`. That tier is wrong: * those types exist to type the `editor.commands.*` surface, which is * marked `@deprecated` in `Editor.ts` (lines 1411, 1597, 1605) and * `packages/superdoc/AGENTS.md` ("editor commands is deprecated and will * be removed; use the Document API"). Reclassifying as legacy/public-compat * matches policy: typed for backward compat, kept compiling, not advertised * as recommended API. Phase 4's package.json#exports flip preserves them * unchanged. SD-3185 carries the SD-3147 corrigendum. * * `superdoc/types` is a **type-only** subpath. The runtime artifact * (`dist/types.es.js`) is effectively empty. Five names that have value * origins upstream are deliberately exported as TYPE-ONLY here, matching * today's contract: * * - `defineNode`, `defineMark` (factory functions upstream) * - `isNodeType`, `assertNodeType`, `isMarkType` (type-guard functions upstream) * * Consumers who want the runtime helpers reach them from `superdoc` itself, * which already exports them. Promoting them to runtime exports here would * change the subpath contract. * * Strategy: re-export through the narrow `@superdoc/super-editor/types` * subpath rather than the broad root. * * Rules for this file: * - AIDEV-NOTE: Type-only via `export type { ... }`. Do NOT add `export { ... }` * for any of the 5 value-origin names. That would change `superdoc/types` * from a type-only contract to one that ships runtime helpers. * AIDEV-NOTE: The postbuild gate `verify-public-facade-emit.cjs` parses this file * and verifies that the emitted declarations expose exactly these * named exports. No second hand-maintained list to keep in sync. * same PR. The verifier postbuild fails on drift. * - This entry has a real `public/types.d.cts` shim (unlike SD-3180/SD-3182/SD-3183 * entries) because the existing `./types` package.json#exports entry * uses split `types.import` / `types.require` declarations. * - This entry does not re-export `Editor` or `EditorCommands`, so the * verifier skips the command-signature probe. */ export type { BlockNodeAttributes, BoldAttrs, BookmarkEndAttrs, BookmarkStartAttrs, BorderSpec, CanCommand, CanObject, CellMargins, ChainableCommandObject, ChainedCommand, Command, CommandProps, CommentMarkAttrs, CommentRangeEndAttrs, CommentRangeStartAttrs, CommentReferenceAttrs, ContentBlockAttrs, ContentBlockMarginOffset, ContentBlockSize, CoreCommandMap, CoreCommands, DocumentAttrs, DocumentPartObjectAttrs, DocumentSectionAttrs, EditorCommands, ExtensionCommandMap, ExtensionCommands, FieldAnnotationAttrs, FieldAnnotationSize, HardBreakAttrs, HighlightAttrs, HighlightColor, ImageAttrs, ImagePadding, ImageSize, ImageTransformData, ImageWrap, IndentationProperties, InlineNodeAttributes, ItalicAttrs, LineBreakAttrs, LinkAttrs, ListRendering, MarkAttributesMap, MarkAttrs, MarkConfig, MarkName, MentionAttrs, NodeAttributesMap, NodeAttrs, NodeConfig, NodeName, NumberingProperties, OxmlNodeAttributes, OxmlNodeConfig, PageNumberAttrs, PageReferenceAttrs, ParagraphAttrs, ParagraphProperties, PassthroughBlockAttrs, PassthroughInlineAttrs, PermEndAttrs, PermStartAttrs, ProseMirrorJSON, ProseMirrorJSONMark, ProseMirrorJSONNode, RunAttrs, RunProperties, SectionMargins, ShadingProperties, ShapeContainerAttrs, ShapeGroupAttrs, ShapeGroupMarginOffset, ShapeGroupPadding, ShapeGroupSize, ShapeNodeAttributes, ShapeTextboxAttrs, SpacingProperties, StrikeAttrs, StructuredContentAttrs, StructuredContentBlockAttrs, TabAttrs, TableAttrs, TableBorders, TableCellAttrs, TableCellProperties, TableGrid, TableHeaderAttrs, TableLook, TableMeasurement, TableNodeAttributes, TableOfContentsAttrs, TableProperties, TableRowAttrs, TableRowProperties, TargetFrameOption, TextAttrs, TextContainerAttributes, TextStyleAttrs, ThemeColor, TotalPageCountAttrs, TrackDeleteAttrs, TrackFormatAttrs, TrackFormatEntry, TrackInsertAttrs, TypedMark, TypedNode, UnderlineAttrs, UnderlineStyle, VectorShapeAttrs, VectorShapeTextInsets, assertNodeType, defineMark, defineNode, isMarkType, isNodeType, } from '../../../super-editor/src/types.js'; //# sourceMappingURL=types.d.ts.map