@bettercms-ai/types 1.61.1 → 1.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -45,10 +45,10 @@ declare const SEGMENTED_MIN = 2;
45
45
  declare const SEGMENTED_MAX = 8;
46
46
  /** Field / prop nesting depth. */
47
47
  declare const DEPTH_MAX = 10;
48
- /** Help and description caps by where the text sits. */
48
+ /** Help and description caps by where the text sits. A field's or a prop's help is ONE dock line: HELP_LINE_MAX. */
49
49
  declare const HELP_CAPS: {
50
- readonly field: 500;
51
- readonly prop: 200;
50
+ readonly field: 80;
51
+ readonly prop: 80;
52
52
  readonly placeholder: 120;
53
53
  readonly helpMore: 2000;
54
54
  readonly option: 140;
@@ -2118,6 +2118,10 @@ interface LayoutFieldDefinition {
2118
2118
  overridable?: boolean;
2119
2119
  /** Shown where the page editor would have offered the field. Required when overridable is false. */
2120
2120
  lockReason?: string;
2121
+ /** The dock's chrome, as on a content-model field (`design-section` writes it). */
2122
+ ui?: Record<string, unknown>;
2123
+ /** The section's `fieldsets` entry this field sits in (`design-section` fieldFieldset). */
2124
+ fieldsetId?: string;
2121
2125
  }
2122
2126
  /** The canonical public input contract all variants in a group implement. */
2123
2127
  type CanonicalInputDefinition = LayoutFieldDefinition;
@@ -2186,6 +2190,19 @@ interface LayoutSection {
2186
2190
  * SLOT's: a locale variant shows when its base does, whatever the variant's own row says.
2187
2191
  */
2188
2192
  window?: VisibilityWindow;
2193
+ /** The dock's groups, rows and tabs over `fields`, as a content model's `fieldsets` (`design-section`). */
2194
+ fieldsets?: Array<{
2195
+ id: string;
2196
+ name: string;
2197
+ kind?: string;
2198
+ tab?: string;
2199
+ } & Record<string, unknown>>;
2200
+ /** `"none"`: the dock draws no automatic tabs, as update_component `dock.tabs`. */
2201
+ dockTabs?: "none";
2202
+ /** The bettercms://kit entry the Section's dock follows (`design-section` kitEntry). */
2203
+ kitEntry?: string;
2204
+ /** Why no kit entry fits, when none does: the setup's `no-fit` answer (`design-section` kitNoFit). */
2205
+ kitNoFit?: string;
2189
2206
  }
2190
2207
  interface LayoutStructureDocument {
2191
2208
  version: 1;
@@ -2369,13 +2386,40 @@ type ManagementLayoutCommand = {
2369
2386
  sectionId: string;
2370
2387
  itemId: string;
2371
2388
  index: number;
2372
- } | {
2389
+ } | ({
2390
+ type: "design-section";
2391
+ sectionId: string;
2392
+ } & LayoutSectionDesign) | {
2373
2393
  type: "set-bindings";
2374
2394
  sectionId: string;
2375
2395
  itemId: string;
2376
2396
  bindings: LayoutComponentItem["bindings"];
2377
2397
  literalValues?: Record<string, unknown>;
2378
2398
  };
2399
+ /**
2400
+ * `design-section`: update_content_model's field chrome and update_component's dock, for one Layout
2401
+ * Section, in the same words. A path is a field's id or slug, dot-separated through its parents.
2402
+ */
2403
+ interface LayoutSectionDesign {
2404
+ fieldType?: Record<string, LayoutFieldType>;
2405
+ /** path → ui merged per key (a null key clears it); null clears the field's ui. */
2406
+ fieldUi?: Record<string, Record<string, unknown> | null>;
2407
+ fieldsets?: LayoutSection["fieldsets"] | null;
2408
+ fieldFieldset?: Record<string, string | null>;
2409
+ dockTabs?: "none" | null;
2410
+ /** The full new order of one parent's children (top level without parentPath). */
2411
+ fieldOrder?: {
2412
+ parentPath?: string;
2413
+ order: string[];
2414
+ };
2415
+ fieldLabel?: Record<string, string>;
2416
+ /** path → one help line; null = none on purpose. */
2417
+ fieldHelpText?: Record<string, string | null>;
2418
+ /** A bettercms://kit entry id; null clears it. */
2419
+ kitEntry?: string | null;
2420
+ /** Why no kit entry fits (12+ characters); null clears it. */
2421
+ kitNoFit?: string | null;
2422
+ }
2379
2423
  type ResolvedLayoutNode = {
2380
2424
  kind: "page-content";
2381
2425
  id: typeof PAGE_CONTENT_ANCHOR_ID;
@@ -2701,6 +2745,8 @@ interface ComponentPropDef {
2701
2745
  * when the stored value is not what an author should read (a component id, for instance).
2702
2746
  */
2703
2747
  options?: Array<string | ChoiceOption>;
2748
+ /** `select` keyed `variant` — the component's reserved variant enum (embed.ts `variantPropOf`). */
2749
+ role?: "variant";
2704
2750
  /** `group` / `table` / `object` — the sub-shape; 10 levels at most, counting the prop (MAX_FIELD_DEPTH). */
2705
2751
  fields?: ComponentSubField[];
2706
2752
  /**
@@ -3064,30 +3110,23 @@ declare function slotShapeProblems(value: unknown, opts?: SlotShapeOptions): Slo
3064
3110
  declare const slotPathString: (path: Array<string | number>) => string;
3065
3111
 
3066
3112
  /**
3067
- * What the dock says under a field, as data both sides read: the backend's generator
3068
- * (src/lib/content/help-text.ts) writes the role sentence and the control's how-to into the
3069
- * stored `helpText`; the dashboard adds a list column's example per row ({@link exampleFor}),
3070
- * because the example depends on WHICH row is open and a stored line has one value for all rows.
3071
- *
3072
- * A field's stored help is ONE dock line, at most {@link HELP_LINE_MAX} characters (owner, 2026-10-25):
3073
- * a role sentence (@see ROLE_HELP), or the site's own words where the markup has them. The canvas
3074
- * gesture that also edits the field is DATA (@see CONTROL_HELP's `gesture`), never appended prose.
3075
- * For a column of a list the dashboard may add `e.g. "<value>"` from the nearest OTHER row.
3113
+ * What the dock says under a field, as data both sides read. The platform writes NO help words
3114
+ * (owner, 2026-10-26: "hard-coded cheezein nahi rakhni"): the setup agent writes one line per field
3115
+ * from the section's source and purpose, through MCP, or null where the label says it all. This file
3116
+ * holds only the limit every writer is held to, the canvas gestures as DATA (@see CONTROL_HELP), and
3117
+ * the dashboard's per-row example ({@link exampleFor}), which depends on WHICH row is open.
3076
3118
  *
3077
3119
  * Pure. No DOM, no I/O.
3078
3120
  */
3079
3121
  /** Two dock lines at 12px in a ~250px column: a stored line plus its row's example. */
3080
3122
  declare const HELP_MAX = 160;
3081
- /** ONE dock line, no ellipsis: every line the platform writes fits it. */
3082
- declare const HELP_LINE_MAX = 48;
3083
- /** The longest help a client may write (an agent's `propHelpText`, a page field's): refused past it, `HELP_TEXT_TOO_LONG`. */
3084
- declare const HELP_WRITE_MAX = 80;
3085
3123
  /**
3086
- * What one role holds, said once: the role words a structural key ends in (@see ROLE_KEYS in
3087
- * sections.ts, and the server's ROLE_VOCABULARY), plus the words a band's shape and a list give.
3088
- * Never the label again, never writing advice.
3124
+ * ONE dock line, everywhere: the longest help any writer may store (an agent's `propHelpText`, a page
3125
+ * field's, a kit entry's line). Refused past it, `HELP_TEXT_TOO_LONG`. Aim for about 60.
3089
3126
  */
3090
- declare const ROLE_HELP: Readonly<Record<string, string>>;
3127
+ declare const HELP_LINE_MAX = 80;
3128
+ /** @deprecated The same limit: {@link HELP_LINE_MAX}. */
3129
+ declare const HELP_WRITE_MAX = 80;
3091
3130
  /**
3092
3131
  * The canvas gestures a how-to may name, each one a control the Visual Editor draws:
3093
3132
  * rows.reorder — a selected row's grip (dashboard canvas/dnd/RowGrip.tsx);
@@ -4566,6 +4605,182 @@ interface RichTextEmbeds {
4566
4605
  cards: Record<string, EmbedCard>;
4567
4606
  }
4568
4607
 
4608
+ /**
4609
+ * Components inside a rich-text body (components v1): the one contract the server, the site
4610
+ * renderers (`BcmsBody`) and the dashboard all code against. Every refusal is a closed code here;
4611
+ * the dashboard maps a code to its copy and never re-spells it.
4612
+ */
4613
+
4614
+ /** Why an embed cannot be inserted or drawn, or why a section cannot be added. First applicable wins. */
4615
+ declare const EMBED_REASONS: readonly ["EMBED_BODY_NOT_DECLARED", "EMBED_COMPONENT_NOT_DECLARED", "EMBED_VARIANT_NOT_ALLOWED", "EMBED_BOUND_TO_PAGE", "EMBED_SOURCE_NOT_RECORDED", "EMBED_COMPONENT_MISSING", "EMBED_RENDER_FAILED", "EMBED_FRAMEWORK_UNSUPPORTED", "SLOT_NOT_IN_PAGE_CODE", "COMPONENT_PAGE_OWN"];
4616
+ type EmbedReason = (typeof EMBED_REASONS)[number];
4617
+ /** Setup-plan exclusions: the six hard gates in order, then the AI pass. */
4618
+ declare const COMPONENT_GATE_CODES: readonly ["COMPONENT_NOT_REUSABLE", "COMPONENT_SOURCE_NOT_MOUNTABLE", "PROP_NOT_REPRESENTABLE", "EMBED_WIDTH_FIT_FAILED", "COMPONENT_IS_CHROME", "COMPONENT_HAS_BODY", "AI_EXCLUDED"];
4619
+ type ComponentGateCode = (typeof COMPONENT_GATE_CODES)[number];
4620
+ /** `EMBED_WIDTH_FIT_FAILED` detail: no runtime to measure in counts as a fail. */
4621
+ declare const WIDTH_FIT_FAIL_KINDS: readonly ["overflow", "full-bleed", "unmeasured"];
4622
+ type WidthFitFailKind = (typeof WIDTH_FIT_FAIL_KINDS)[number];
4623
+ /** Per-embed ledger outcome. `HIDDEN` is info, never a publish warning. */
4624
+ declare const EMBED_LEDGER_OUTCOMES: readonly ["NOT_RENDERED", "HIDDEN"];
4625
+ type EmbedLedgerOutcome = (typeof EMBED_LEDGER_OUTCOMES)[number];
4626
+ declare function isEmbedReason(code: unknown): code is EmbedReason;
4627
+ declare function isComponentGateCode(code: unknown): code is ComponentGateCode;
4628
+ /** The embed node in a Portable Text body. A code component's variant is `overrides.variant`. */
4629
+ interface ComponentEmbedNode {
4630
+ _type: "bcmsBlock";
4631
+ _key: string;
4632
+ schemaKey: "component";
4633
+ schemaLabel?: string;
4634
+ fields: {
4635
+ componentId: string;
4636
+ overrides?: Record<string, unknown> & {
4637
+ variant?: string;
4638
+ };
4639
+ /** Written on every new insert. Absent reads as `true` (legacy nodes). */
4640
+ visible?: boolean;
4641
+ };
4642
+ }
4643
+ /** `visible: false` keeps the value and position; the published html draws nothing. */
4644
+ declare function embedVisible(node: {
4645
+ fields?: {
4646
+ visible?: unknown;
4647
+ } | null;
4648
+ } | null | undefined): boolean;
4649
+ interface EmbedMarker {
4650
+ ptKey: string;
4651
+ componentId: string;
4652
+ hidden?: boolean;
4653
+ reason?: EmbedReason;
4654
+ }
4655
+ /** The stored/delivered marker for one embed. A site renderer swaps it for the mounted component. */
4656
+ declare function embedMarkerHtml(m: EmbedMarker): string;
4657
+ interface EmbedMarkerMatch extends EmbedMarker {
4658
+ /** Offsets of the whole marker in the html it was found in, for splitting. */
4659
+ start: number;
4660
+ end: number;
4661
+ }
4662
+ /** Every marker in `html`, in order. Attribute order does not matter; a marker without an id is skipped. */
4663
+ declare function parseEmbedMarkers(html: string): EmbedMarkerMatch[];
4664
+ /** One body the setup plan declares as accepting components (`setup_state.bodies.items[]`). */
4665
+ interface BodyDeclaration {
4666
+ /** Exactly one of page / model names the owner of `field`. */
4667
+ page?: string;
4668
+ model?: string;
4669
+ field: string;
4670
+ /** The site file that renders the body (`BcmsBody` lives there). */
4671
+ sink: string;
4672
+ widthPx: number;
4673
+ hostClasses?: string;
4674
+ allow: Array<{
4675
+ componentId: string;
4676
+ path: string;
4677
+ export: string;
4678
+ variants: string[];
4679
+ why: string;
4680
+ }>;
4681
+ exclude: Array<{
4682
+ componentId: string;
4683
+ code: ComponentGateCode;
4684
+ detail?: string | {
4685
+ kind: WidthFitFailKind;
4686
+ };
4687
+ why?: string;
4688
+ }>;
4689
+ }
4690
+ interface BodiesState {
4691
+ at: string;
4692
+ commit?: string;
4693
+ items: BodyDeclaration[];
4694
+ }
4695
+ /** `GET …/embed-capability`: what this body's "+" may offer. Never "everything" on a code-drawn page. */
4696
+ interface EmbedCapability {
4697
+ field: string;
4698
+ declared: boolean;
4699
+ widthPx: number | null;
4700
+ allow: Array<{
4701
+ componentId: string;
4702
+ name: string;
4703
+ variants: string[];
4704
+ thumb: string | null;
4705
+ }>;
4706
+ denied: Array<{
4707
+ componentId: string;
4708
+ name: string;
4709
+ code: EmbedReason | ComponentGateCode;
4710
+ detail?: string;
4711
+ }>;
4712
+ bodyReason: EmbedReason | null;
4713
+ }
4714
+ /** `GET …/pages/:pageId/declared-slots`. */
4715
+ interface DeclaredSlot {
4716
+ slot: string;
4717
+ bind: string | null;
4718
+ placed: boolean;
4719
+ componentId: string | null;
4720
+ }
4721
+ /** `POST …/components/:id/fit`. */
4722
+ interface WidthFitResult {
4723
+ ok: boolean;
4724
+ code?: "EMBED_WIDTH_FIT_FAILED";
4725
+ kind?: WidthFitFailKind;
4726
+ measured: {
4727
+ hostWidth: number | null;
4728
+ rootWidth: number | null;
4729
+ scrollWidth: number | null;
4730
+ at: number[];
4731
+ };
4732
+ }
4733
+ /** A publish verdict warning for an embed the site cannot draw. Never a refusal. */
4734
+ interface EmbedNotRenderedWarning {
4735
+ code: "NOT_RENDERED";
4736
+ reason: EmbedReason;
4737
+ page: string;
4738
+ field: string;
4739
+ ptKey: string;
4740
+ }
4741
+ /** Ledger address of one embed: `<field>#<ptKey>`. */
4742
+ declare const embedAddress: (field: string, ptKey: string) => string;
4743
+ declare const VARIANT_PROP_KEY = "variant";
4744
+ declare const DEFAULT_VARIANT = "default";
4745
+ type PropLike = {
4746
+ key: string;
4747
+ type: string;
4748
+ showIf?: ShowIf;
4749
+ config?: {
4750
+ role?: string;
4751
+ options?: Array<string | {
4752
+ value: string;
4753
+ }>;
4754
+ } | null;
4755
+ };
4756
+ /** The reserved variant prop, or undefined. A plain `select` keyed `variant` without the role is not it. */
4757
+ declare function variantPropOf<P extends PropLike>(def: {
4758
+ props?: readonly P[] | null;
4759
+ }): P | undefined;
4760
+ /** The variant values, `["default"]` when the component declares none. */
4761
+ declare function variantOptionsOf(def: {
4762
+ props?: readonly PropLike[] | null;
4763
+ }): string[];
4764
+ /**
4765
+ * Variant values from a file's `variant?:` TS type text (`"dark" | "split"`). Anything that is not
4766
+ * a union of string literals gives `["default"]`, and so does no prop at all.
4767
+ */
4768
+ declare function variantOptionsFromUnion(typeText: string | null | undefined): string[];
4769
+ /**
4770
+ * The shared `showIf` evaluator (the dashboard's showIf.ts semantics). With `sourceTypes`, a rule
4771
+ * naming an unknown key passes (fail-open: content never vanishes from the editor) and booleans
4772
+ * compare as "true"/"false". Values compare as strings.
4773
+ */
4774
+ declare function evaluateShowIf(showIf: {
4775
+ match?: "all" | "any";
4776
+ rules?: readonly Pick<ShowIfRule, "field" | "op" | "value">[];
4777
+ } | null | undefined, values: Record<string, unknown>, sourceTypes?: ReadonlyMap<string, string>): boolean;
4778
+ /**
4779
+ * Is this prop's control shown for these values (variant-only fields hide on other variants)?
4780
+ * Hidden is never deleted: callers keep and send the value.
4781
+ */
4782
+ declare function isVariantVisible(prop: PropLike, values: Record<string, unknown>, props?: readonly PropLike[]): boolean;
4783
+
4569
4784
  /**
4570
4785
  * The id a heading's words make, V2's `slugify` byte for byte, so V2's stored links keep working.
4571
4786
  * The one spelling: @bettercms-ai/richtext stamps it on every rendered h2/h3 and re-exports it,
@@ -4573,4 +4788,4 @@ interface RichTextEmbeds {
4573
4788
  */
4574
4789
  declare const slugify: (s: string) => string;
4575
4790
 
4576
- export { type AlignToken, type AllowRule, type ApiError, type ApiKey, type ApiKeyPermission, type ApiKeyTokenType, type ApproveDockUiInput, type ApproveDockUiOutput, type ArrayZoneConfig, type AssertEqual, type AuthResponse, type AuthSession, type AuthUser, BLOCK_BINDINGS, BLOCK_FIELD_TYPES, BLOCK_FIELD_TYPES_RENDERABLE_NOW, BODY_SCHEMA_ORIGINS, BREAKPOINTS, BUTTON_ACTIONS, BUTTON_FULL_WIDTH_INVALID, BUTTON_ICONS, BUTTON_ICON_NAMES, BUTTON_LOOK_KEYS, BUTTON_PLACEMENT_KEYS, BUTTON_SIZES, BUTTON_VARIANTS, type BetterCMSErrorCode, type BgToken, type BindingKind, type BlockBinding, type BlockHoverStyle, type BlockStyle, type BlockType, type BodySchema, type BodySchemaOrigin, type ButtonAction, type ButtonBlock, type ButtonIcon, type ButtonLinkCandidate, type ButtonLookKey, type ButtonProps, type ButtonSiteLook, type ButtonSizeName, type ButtonValue, type ButtonVariant, CANVAS_GESTURE_NAMES, CATEGORY_ID_MAX, CATEGORY_ORDER, CODE_SLOT_PREFIX, COMPONENT_PROP_TYPES, CONTROL_HELP, type CanonicalInputDefinition, type CanvasGesture, type ChoiceOption, type CollectionBlock, type CollectionFilter, type CollectionProps, type ColorToken, type ColumnsBlock, type ColumnsProps, type Component, type ComponentBlock, type ComponentCategory, type ComponentCategoryId, type ComponentFormPropRef, type ComponentPreview, type ComponentPropDef, type ComponentPropType, type ComponentPropUi, type ComponentProps, type ComponentSubField, type ComponentTab, type ComponentV2, type ComponentVariantGroup, type Content, type ContentBlock, type ContentEntry, type ContentModel, type ContentModelField, type ContentModelFieldType, type ContentModelFieldUi, type ContentModelV2, type ContentPageResult, type ContentResponse, type ContentWidthToken, type ControlKind, type CornerToken, DEPTH_MAX, DERIVE_MINTED_RESERVED, DIALOG_SELECTOR, DOCK_BUDGET, DOCK_ICON_NAMES, DOCK_ICON_NAME_SET, DOCK_UI_IMPORTS, DOCK_UI_LIMITS, DOCK_UI_NAME, type DeepReadonly, type DefSources, type DeliveredLayout, type DeliveryComponent, type DeliveryEntry, type DeliveryEntrySeo, type DeliveryList, type DeliveryPage, type DerivedLocator, type DockBudget, type DockFieldLike, type DockFieldsetLike, type DockIconName, type DockInputRef, type DockLane, type DockNode, type DockPropGroupLike, type DockScreen, type DockUiBuildReceipt, type DockUiKind, type DockUiOrigin, type DockUiScope, type DockUiSource, type DockUiStatus, type DockUiVersion, type ElementLike, type EmbedCard, type ExpandedBinding, FIELD_SIZE_ZOOM, FIELD_STYLE_KEYS, FOOTER_SECTION_ID, FRAME_REFUSALS, type FieldConfig, type FieldSize, type FieldStyle, type FieldStyleKey, type FieldStyles, type Fieldset, type FieldsetKind, type FieldsetUiBefore, type FontSizeToken, type FooterBlock, type FooterColumn, type FooterProps, type Form, type FormBlock, type FormField, type FormProps, type FormSubmission, HELP_CAPS, HELP_LINE_MAX, HELP_MAX, HELP_WRITE_MAX, type HeadingBlock, type HeadingProps, IMAGE_ASPECTS, IMAGE_FRAME_RADIUS, type ImageAspect, type ImageBlock, type ImageProps, KEY_FORBIDDEN, KEY_FORMAT, KEY_RESERVED, KEY_RESERVED_PREFIX, KIT_CATEGORIES, type KitCategory, LANDMARK_SELECTOR, LAYOUT_SECTION_ICONS, LAYOUT_SECTION_ICON_SET, LINK_RELS, LINK_VALUE_TYPES, LIST_ITEMS_CAP, LIST_PREVIEW_SLOTS, LOCATOR_PATH, type LandmarkChainElement, type LandmarkElement, type LayoutComponentItem, type LayoutDataDocument, type LayoutFieldDefinition, type LayoutFieldItem, type LayoutFieldType, type LayoutScalarFieldType, type LayoutSection, type LayoutSectionIcon, type LayoutSectionItem, type LayoutStructureDocument, type LayoutZone, type LinkPairSibling, type LinkRel, type LinkValue, type LinkValueType, type ListDockUiInput, type ListDockUiOutput, type LocatorGrammar, MAIN_SELECTOR, type ManagementLayoutCommand, type MediaAsset, type MediaCaptionTrack, type MediaFieldValue, NAVIGATION_SECTION_ID, type NavLink, type NavbarBlock, type NavbarProps, type NumberFieldFormat, type NumberScale, OPEN_MODES, OPEN_MODE_TYPES, OPTION_DESCRIPTION_MAX, type OpenMode, PAGE_CONTENT_ANCHOR_ID, PRIMITIVE_ARRAY_RULE, type Page, type PageLayoutOverrideDataDocument, type PageLayoutOverrideDocument, type PageLayoutOverrideState, type PageLayoutOverrideStructureDocument, type PageLayoutSectionOverride, type PageLayoutSectionStructureOverride, type PageMetaJson, type PageOnlyLayoutSection, type PageSectionPlacement, type PaginatedResult, type Perspective, type PortableTextDocument, type PortableTextNode, type PropGroup, type PropTab, type PublishDockUiInput, type PublishDockUiOutput, REFERENCE_CREATE_REFUSAL_CODES, RESPONSIVE_CSS, RICHTEXT_ADVANCED_ELEMENTS, RICHTEXT_BLOCK_ELEMENTS, RICHTEXT_BLOCK_FEATURES, RICHTEXT_CORE_ELEMENTS, RICHTEXT_ELEMENTS, RICHTEXT_FEATURES, RICHTEXT_FEATURE_ALIASES, RICHTEXT_HEADING_FEATURES, RICHTEXT_MARK_FEATURES, RICHTEXT_TOGGLE_FEATURES, ROLE_HELP, ROLE_KEYS, type RadiusToken, type ReadButtonValue, type Redirect, type ReferenceCreateCapability, type ReferenceCreateRefusal, type ReferenceCreateRefusalCode, type ReferenceCreateResult, type ReferenceCreatedOption, type ReservedLayoutSection, type ResolvedAuthor, type ResolvedLayoutNode, type ResolvedPost, type RichTextBlock, type RichTextElementName, type RichTextEmbeds, type RichTextFeature, type RichTextProps, type RichTextRefusalCode, type RichTextResolved, SCHEMA_HASH_INPUTS, SECTION_DOCTRINE, SECTION_SPACE_TOKENS, SEGMENTED_MAX, SEGMENTED_MIN, SHOW_IF_SCOPES, SIDE_SPACE_MIN_PX, SIDE_SPACE_TOKENS, SLOT_CHILD_KEYS, SLOT_ITEMS_CAP, SLOT_MAX_ITEMS, SLOT_SETTINGS_MAX, SLOT_SETTINGS_TYPES, SOURCE_RANK, SPACE_BOTTOM_TOKENS, SPACE_STEP_TOKENS, type ScaleUnit, type SchemaHashTable, type SchemaSource, type SectionBlock, type SectionPlanItem, type SectionProps, type SectionSpaceToken, type ShadowToken, type ShowIf, type ShowIfRule, type SignInInput, type SignUpInput, type SiteSeoDefaults, type SlideItem, type SliderBlock, type SliderProps, type SlotChild, type SlotItem, type SlotShapeOptions, type SlotShapeProblem, type SlotValue, type SourcedFacet, type SpaceStepToken, type SpaceToken, type SpacerBlock, type SpacerProps, TABLE_COLUMN_TYPES, TABLE_JSONLD_TYPES, TABLE_LIMITS, TABLE_RESPONSIVE, TAB_MAX, TAB_MAX_RENDERABLE_NOW, TAG_HEADS, type TabItem, type TableCell, type TableCellObject, type TableCellValue, type TableCheckOptions, type TableColumn, type TableColumnType, type TableFieldOptions, type TableFootnote, type TableGroup, type TableLink, type TableProblem, type TableRef, type TableRefResolved, type TableRow, type TableValue, type TabsBlock, type TabsProps, type TextBlock, type TextProps, type ThemeToken, UI_PROTOCOLS, UI_REFUSAL_CODES, UI_REFUSAL_IDS, type UiBefore, type UiManifestEntry, type UiManifestV2, type UiOrigin, type UiProtocol, type UiRefusal, type UiRefusalFamily, type UiRefusalId, type V2Placement, type V2Shape, type V2VariantMeta, V2_KEYS, V2_PLACEMENTS, V2_SHAPES, VIDEO_TRANSCRIPT_MAX, VIDEO_VALUE_KEYS, type ValidateDockUiInput, type ValidateDockUiOutput, type VariantGroupV2, type VariantInputMapping, type VideoBlock, type VideoProps, type VideoValue, type VisibilityWindow, type WeightToken, type WindowState, type Workspace, type WriteDockUiInput, type WriteDockUiOutput, type ZoneField, allowRuleOf, anchorTargetRel, blockStyleToColumnCss, blockStyleToCss, blockStyleToInnerCss, bodySchemaOf, buttonBlockProps, buttonFullWidthProblem, buttonIconOf, buttonIconSvg, buttonLinkPairs, buttonLookValue, buttonSiteLookOf, buttonValueOfInstance, buttonValueProblem, buttonVariantOf, candidateRole, canonicalJson, componentInstanceAddresses, componentPropTargetKey, derivedPairs, dockBudget, dockScreens, dockUiMerkleKey, exampleFor, expandBlockBindings, fieldGroupOf, fieldStyleCssText, fieldStyleToCss, formatNumber, formatPropsAttribute, getBlockType, headingPaintCss, hiddenEverywhere, hideOnAttr, imageFrameCss, inWindow, isBlock, isButtonLookValue, isChromeLandmark, isCodeButton, isDeriveReservedKey, isDockUiImportAllowed, isLinkObject, isReservedKey, isRoleKey, isRulePaired, isScriptHref, isSlotChild, isTableValue, isUiRefusal, keyWords, landmarkRegions, linkAnchorOf, linkHref, linkRefOf, linkValueProblem, locatorFor, locatorPath, mayOverwrite, normaliseRichTextFeatures, normalizeLinkValue, normalizeTableValue, normalizeWindow, parseNumberText, parsePropsAttribute, pickFieldStyle, placementBindOf, planSections, readButtonValue, readNumberFormat, readPath, referenceCreateRefusal, regionOf, renderTableHtml, richTextRefusal, rulePartnerOf, safeCssUrl, schemaHashInput, sideFloorApplies, sideSpaceCss, slotBindOf, slotChildValues, slotItems, slotPathString, slotShapeProblems, slugify, spaceTokenCss, splitButtonStyle, tableCellText, tablePathString, tableRefCells, tableSearchText, tableToMarkdown, tableValueProblems, topFieldKeyOf, uiRefusalId, usesHideOn, videoUrlOf, videoValueProblem, visibleBlocks, visibleDeliveredLayout, visibleLayoutStructure, windowState, withButtonLookProps, withExample };
4791
+ export { type AlignToken, type AllowRule, type ApiError, type ApiKey, type ApiKeyPermission, type ApiKeyTokenType, type ApproveDockUiInput, type ApproveDockUiOutput, type ArrayZoneConfig, type AssertEqual, type AuthResponse, type AuthSession, type AuthUser, BLOCK_BINDINGS, BLOCK_FIELD_TYPES, BLOCK_FIELD_TYPES_RENDERABLE_NOW, BODY_SCHEMA_ORIGINS, BREAKPOINTS, BUTTON_ACTIONS, BUTTON_FULL_WIDTH_INVALID, BUTTON_ICONS, BUTTON_ICON_NAMES, BUTTON_LOOK_KEYS, BUTTON_PLACEMENT_KEYS, BUTTON_SIZES, BUTTON_VARIANTS, type BetterCMSErrorCode, type BgToken, type BindingKind, type BlockBinding, type BlockHoverStyle, type BlockStyle, type BlockType, type BodiesState, type BodyDeclaration, type BodySchema, type BodySchemaOrigin, type ButtonAction, type ButtonBlock, type ButtonIcon, type ButtonLinkCandidate, type ButtonLookKey, type ButtonProps, type ButtonSiteLook, type ButtonSizeName, type ButtonValue, type ButtonVariant, CANVAS_GESTURE_NAMES, CATEGORY_ID_MAX, CATEGORY_ORDER, CODE_SLOT_PREFIX, COMPONENT_GATE_CODES, COMPONENT_PROP_TYPES, CONTROL_HELP, type CanonicalInputDefinition, type CanvasGesture, type ChoiceOption, type CollectionBlock, type CollectionFilter, type CollectionProps, type ColorToken, type ColumnsBlock, type ColumnsProps, type Component, type ComponentBlock, type ComponentCategory, type ComponentCategoryId, type ComponentEmbedNode, type ComponentFormPropRef, type ComponentGateCode, type ComponentPreview, type ComponentPropDef, type ComponentPropType, type ComponentPropUi, type ComponentProps, type ComponentSubField, type ComponentTab, type ComponentV2, type ComponentVariantGroup, type Content, type ContentBlock, type ContentEntry, type ContentModel, type ContentModelField, type ContentModelFieldType, type ContentModelFieldUi, type ContentModelV2, type ContentPageResult, type ContentResponse, type ContentWidthToken, type ControlKind, type CornerToken, DEFAULT_VARIANT, DEPTH_MAX, DERIVE_MINTED_RESERVED, DIALOG_SELECTOR, DOCK_BUDGET, DOCK_ICON_NAMES, DOCK_ICON_NAME_SET, DOCK_UI_IMPORTS, DOCK_UI_LIMITS, DOCK_UI_NAME, type DeclaredSlot, type DeepReadonly, type DefSources, type DeliveredLayout, type DeliveryComponent, type DeliveryEntry, type DeliveryEntrySeo, type DeliveryList, type DeliveryPage, type DerivedLocator, type DockBudget, type DockFieldLike, type DockFieldsetLike, type DockIconName, type DockInputRef, type DockLane, type DockNode, type DockPropGroupLike, type DockScreen, type DockUiBuildReceipt, type DockUiKind, type DockUiOrigin, type DockUiScope, type DockUiSource, type DockUiStatus, type DockUiVersion, EMBED_LEDGER_OUTCOMES, EMBED_REASONS, type ElementLike, type EmbedCapability, type EmbedCard, type EmbedLedgerOutcome, type EmbedMarker, type EmbedMarkerMatch, type EmbedNotRenderedWarning, type EmbedReason, type ExpandedBinding, FIELD_SIZE_ZOOM, FIELD_STYLE_KEYS, FOOTER_SECTION_ID, FRAME_REFUSALS, type FieldConfig, type FieldSize, type FieldStyle, type FieldStyleKey, type FieldStyles, type Fieldset, type FieldsetKind, type FieldsetUiBefore, type FontSizeToken, type FooterBlock, type FooterColumn, type FooterProps, type Form, type FormBlock, type FormField, type FormProps, type FormSubmission, HELP_CAPS, HELP_LINE_MAX, HELP_MAX, HELP_WRITE_MAX, type HeadingBlock, type HeadingProps, IMAGE_ASPECTS, IMAGE_FRAME_RADIUS, type ImageAspect, type ImageBlock, type ImageProps, KEY_FORBIDDEN, KEY_FORMAT, KEY_RESERVED, KEY_RESERVED_PREFIX, KIT_CATEGORIES, type KitCategory, LANDMARK_SELECTOR, LAYOUT_SECTION_ICONS, LAYOUT_SECTION_ICON_SET, LINK_RELS, LINK_VALUE_TYPES, LIST_ITEMS_CAP, LIST_PREVIEW_SLOTS, LOCATOR_PATH, type LandmarkChainElement, type LandmarkElement, type LayoutComponentItem, type LayoutDataDocument, type LayoutFieldDefinition, type LayoutFieldItem, type LayoutFieldType, type LayoutScalarFieldType, type LayoutSection, type LayoutSectionDesign, type LayoutSectionIcon, type LayoutSectionItem, type LayoutStructureDocument, type LayoutZone, type LinkPairSibling, type LinkRel, type LinkValue, type LinkValueType, type ListDockUiInput, type ListDockUiOutput, type LocatorGrammar, MAIN_SELECTOR, type ManagementLayoutCommand, type MediaAsset, type MediaCaptionTrack, type MediaFieldValue, NAVIGATION_SECTION_ID, type NavLink, type NavbarBlock, type NavbarProps, type NumberFieldFormat, type NumberScale, OPEN_MODES, OPEN_MODE_TYPES, OPTION_DESCRIPTION_MAX, type OpenMode, PAGE_CONTENT_ANCHOR_ID, PRIMITIVE_ARRAY_RULE, type Page, type PageLayoutOverrideDataDocument, type PageLayoutOverrideDocument, type PageLayoutOverrideState, type PageLayoutOverrideStructureDocument, type PageLayoutSectionOverride, type PageLayoutSectionStructureOverride, type PageMetaJson, type PageOnlyLayoutSection, type PageSectionPlacement, type PaginatedResult, type Perspective, type PortableTextDocument, type PortableTextNode, type PropGroup, type PropTab, type PublishDockUiInput, type PublishDockUiOutput, REFERENCE_CREATE_REFUSAL_CODES, RESPONSIVE_CSS, RICHTEXT_ADVANCED_ELEMENTS, RICHTEXT_BLOCK_ELEMENTS, RICHTEXT_BLOCK_FEATURES, RICHTEXT_CORE_ELEMENTS, RICHTEXT_ELEMENTS, RICHTEXT_FEATURES, RICHTEXT_FEATURE_ALIASES, RICHTEXT_HEADING_FEATURES, RICHTEXT_MARK_FEATURES, RICHTEXT_TOGGLE_FEATURES, ROLE_KEYS, type RadiusToken, type ReadButtonValue, type Redirect, type ReferenceCreateCapability, type ReferenceCreateRefusal, type ReferenceCreateRefusalCode, type ReferenceCreateResult, type ReferenceCreatedOption, type ReservedLayoutSection, type ResolvedAuthor, type ResolvedLayoutNode, type ResolvedPost, type RichTextBlock, type RichTextElementName, type RichTextEmbeds, type RichTextFeature, type RichTextProps, type RichTextRefusalCode, type RichTextResolved, SCHEMA_HASH_INPUTS, SECTION_DOCTRINE, SECTION_SPACE_TOKENS, SEGMENTED_MAX, SEGMENTED_MIN, SHOW_IF_SCOPES, SIDE_SPACE_MIN_PX, SIDE_SPACE_TOKENS, SLOT_CHILD_KEYS, SLOT_ITEMS_CAP, SLOT_MAX_ITEMS, SLOT_SETTINGS_MAX, SLOT_SETTINGS_TYPES, SOURCE_RANK, SPACE_BOTTOM_TOKENS, SPACE_STEP_TOKENS, type ScaleUnit, type SchemaHashTable, type SchemaSource, type SectionBlock, type SectionPlanItem, type SectionProps, type SectionSpaceToken, type ShadowToken, type ShowIf, type ShowIfRule, type SignInInput, type SignUpInput, type SiteSeoDefaults, type SlideItem, type SliderBlock, type SliderProps, type SlotChild, type SlotItem, type SlotShapeOptions, type SlotShapeProblem, type SlotValue, type SourcedFacet, type SpaceStepToken, type SpaceToken, type SpacerBlock, type SpacerProps, TABLE_COLUMN_TYPES, TABLE_JSONLD_TYPES, TABLE_LIMITS, TABLE_RESPONSIVE, TAB_MAX, TAB_MAX_RENDERABLE_NOW, TAG_HEADS, type TabItem, type TableCell, type TableCellObject, type TableCellValue, type TableCheckOptions, type TableColumn, type TableColumnType, type TableFieldOptions, type TableFootnote, type TableGroup, type TableLink, type TableProblem, type TableRef, type TableRefResolved, type TableRow, type TableValue, type TabsBlock, type TabsProps, type TextBlock, type TextProps, type ThemeToken, UI_PROTOCOLS, UI_REFUSAL_CODES, UI_REFUSAL_IDS, type UiBefore, type UiManifestEntry, type UiManifestV2, type UiOrigin, type UiProtocol, type UiRefusal, type UiRefusalFamily, type UiRefusalId, type V2Placement, type V2Shape, type V2VariantMeta, V2_KEYS, V2_PLACEMENTS, V2_SHAPES, VARIANT_PROP_KEY, VIDEO_TRANSCRIPT_MAX, VIDEO_VALUE_KEYS, type ValidateDockUiInput, type ValidateDockUiOutput, type VariantGroupV2, type VariantInputMapping, type VideoBlock, type VideoProps, type VideoValue, type VisibilityWindow, WIDTH_FIT_FAIL_KINDS, type WeightToken, type WidthFitFailKind, type WidthFitResult, type WindowState, type Workspace, type WriteDockUiInput, type WriteDockUiOutput, type ZoneField, allowRuleOf, anchorTargetRel, blockStyleToColumnCss, blockStyleToCss, blockStyleToInnerCss, bodySchemaOf, buttonBlockProps, buttonFullWidthProblem, buttonIconOf, buttonIconSvg, buttonLinkPairs, buttonLookValue, buttonSiteLookOf, buttonValueOfInstance, buttonValueProblem, buttonVariantOf, candidateRole, canonicalJson, componentInstanceAddresses, componentPropTargetKey, derivedPairs, dockBudget, dockScreens, dockUiMerkleKey, embedAddress, embedMarkerHtml, embedVisible, evaluateShowIf, exampleFor, expandBlockBindings, fieldGroupOf, fieldStyleCssText, fieldStyleToCss, formatNumber, formatPropsAttribute, getBlockType, headingPaintCss, hiddenEverywhere, hideOnAttr, imageFrameCss, inWindow, isBlock, isButtonLookValue, isChromeLandmark, isCodeButton, isComponentGateCode, isDeriveReservedKey, isDockUiImportAllowed, isEmbedReason, isLinkObject, isReservedKey, isRoleKey, isRulePaired, isScriptHref, isSlotChild, isTableValue, isUiRefusal, isVariantVisible, keyWords, landmarkRegions, linkAnchorOf, linkHref, linkRefOf, linkValueProblem, locatorFor, locatorPath, mayOverwrite, normaliseRichTextFeatures, normalizeLinkValue, normalizeTableValue, normalizeWindow, parseEmbedMarkers, parseNumberText, parsePropsAttribute, pickFieldStyle, placementBindOf, planSections, readButtonValue, readNumberFormat, readPath, referenceCreateRefusal, regionOf, renderTableHtml, richTextRefusal, rulePartnerOf, safeCssUrl, schemaHashInput, sideFloorApplies, sideSpaceCss, slotBindOf, slotChildValues, slotItems, slotPathString, slotShapeProblems, slugify, spaceTokenCss, splitButtonStyle, tableCellText, tablePathString, tableRefCells, tableSearchText, tableToMarkdown, tableValueProblems, topFieldKeyOf, uiRefusalId, usesHideOn, variantOptionsFromUnion, variantOptionsOf, variantPropOf, videoUrlOf, videoValueProblem, visibleBlocks, visibleDeliveredLayout, visibleLayoutStructure, windowState, withButtonLookProps, withExample };