@bettercms-ai/types 1.68.0 → 1.69.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
@@ -2340,6 +2340,12 @@ interface LayoutSection {
2340
2340
  * SLOT's: a locale variant shows when its base does, whatever the variant's own row says.
2341
2341
  */
2342
2342
  window?: VisibilityWindow;
2343
+ /**
2344
+ * The Section's design and settings, the same bag a page section carries as `block.style`
2345
+ * (spacing, theme, background, `hideOn`, `anchor`, `cssClass`), drawn the same way on the live
2346
+ * site. Absent = none. Written whole by `update-section` `style` (null or `{}` clears it).
2347
+ */
2348
+ style?: BlockStyle;
2343
2349
  /** The dock's groups, rows and tabs over `fields`, as a content model's `fieldsets` (`design-section`). */
2344
2350
  fieldsets?: Array<{
2345
2351
  id: string;
@@ -2508,6 +2514,7 @@ type ManagementLayoutCommand = {
2508
2514
  orderKey?: string;
2509
2515
  description?: string;
2510
2516
  window?: VisibilityWindow | null;
2517
+ style?: BlockStyle | null;
2511
2518
  } | {
2512
2519
  type: "remove-section";
2513
2520
  sectionId: string;
@@ -2610,6 +2617,12 @@ interface DeliveredLayout {
2610
2617
  variantOf?: string;
2611
2618
  /** Present only on a Section that has one. A published read never delivers a Section outside it. */
2612
2619
  window?: VisibilityWindow;
2620
+ /**
2621
+ * Present only on a Section that has one: its design and settings, as a page section's
2622
+ * `block.style`. A site that draws its own chrome spreads `sectionRootAttrs({ style })` on
2623
+ * the Section's root, as it does for a page section.
2624
+ */
2625
+ style?: BlockStyle;
2613
2626
  fields: Record<string, unknown>;
2614
2627
  items: Array<{
2615
2628
  id: string;
@@ -4523,6 +4536,490 @@ declare function regionOf<E extends {
4523
4536
  el: E;
4524
4537
  }[], el: unknown): string | null;
4525
4538
 
4539
+ /**
4540
+ * THE LOCAL SETUP CONTRACT: the site map `bettercms scan` writes and the manifest `bettercms verify`
4541
+ * uploads (`POST /api/v1/management/projects/current/local-setup`).
4542
+ *
4543
+ * One shape, read by three parties that ship apart: the CLI writes it, the MCP relays it
4544
+ * (`submit_local_setup`), the server stores it. So the shape and its checks live here, the one
4545
+ * package all three already import, and `version` says which shape a file is in. A reader refuses
4546
+ * a version it does not know instead of guessing at it. Each file has its own version: the site map is
4547
+ * at 2 (the style guide, plan 13a) and still reads 1, the manifest is at 1.
4548
+ *
4549
+ * PLAIN TYPESCRIPT, NO SCHEMA LIBRARY, like the rest of this package: the checks are a handful of
4550
+ * small functions below. They are SHAPE AND SIZE checks only. The server still re-checks what it
4551
+ * stores against its own rules: `doc` through the manifest inserter (`seedManifest`), `receipt`
4552
+ * through `conversionReceiptSchema`.
4553
+ *
4554
+ * UNKNOWN KEYS ARE KEPT, never refused: a newer CLI carries fields an older server has not heard of,
4555
+ * and refusing them would make every CLI upgrade break uploads to a server that has not shipped yet
4556
+ * (the receipt's rule, @see src/lib/validation/schemas/conversion-receipt.ts). Known keys are strict.
4557
+ *
4558
+ * @see ~/bcms-work/LOCAL-EDITABLE-PLAN.md sections 4.4, 5.3 and 6
4559
+ */
4560
+ /** The manifest's shape version. A reader refuses any other. */
4561
+ declare const LOCAL_SETUP_VERSION = 1;
4562
+ /**
4563
+ * The site map's shape version, and every version a reader takes. 2 adds the optional `styleGuide`,
4564
+ * 3 each template's section candidates (`templates[].sections`, plan section 7). An older map is the
4565
+ * same shape without them, so it still reads (a map is committed, and an older scan's map must not
4566
+ * stop a newer reader).
4567
+ */
4568
+ declare const SITE_MAP_VERSION = 3;
4569
+ declare const SITE_MAP_VERSIONS: readonly [1, 2, 3];
4570
+ type SiteMapVersion = (typeof SITE_MAP_VERSIONS)[number];
4571
+ /** The front ends the scan reads. V1 ships the first five; `html` is a plain static folder. */
4572
+ declare const LOCAL_FRAMEWORKS: readonly ["astro", "next", "sveltekit", "nuxt", "react", "html"];
4573
+ type LocalFramework = (typeof LOCAL_FRAMEWORKS)[number];
4574
+ /** What a layout file is to the site. `layout` wraps every route; the rest are its chrome parts. */
4575
+ declare const LAYOUT_ROLES: readonly ["layout", "header", "footer", "nav"];
4576
+ type LayoutRole = (typeof LAYOUT_ROLES)[number];
4577
+ /**
4578
+ * Why the scan left a file or a part of one alone. Reported, never dropped (plan 5.2).
4579
+ * The reader accepts any UPPER_SNAKE code, so a newer scan's new reason is not a refusal.
4580
+ */
4581
+ declare const BLOCKED_REASONS: readonly ["CLIENT_ONLY_ISLAND", "INNER_HTML", "COMPUTED_STRING", "DIALECT_UNSUPPORTED", "FILE_TOO_LARGE", "OVER_ROUTE_CAP", "UNRESOLVED_IMPORT", "PARSE_FAILED", "I18N_DICTIONARY"];
4582
+ /**
4583
+ * Byte caps, measured on the RAW (uncompressed) JSON before it is parsed: a cap applied after
4584
+ * `JSON.parse` has already paid for the memory it was meant to refuse. The manifest carries the
4585
+ * site's copy and entries, so it is the big one; the site map holds counts only.
4586
+ */
4587
+ declare const MAX_SITE_MAP_BYTES: number;
4588
+ declare const MAX_LOCAL_SETUP_BYTES: number;
4589
+ /** Count caps. `routes` is the server's own route cap (MAX_BUILT_ROUTES in built-route-list.ts). */
4590
+ declare const LOCAL_SETUP_LIMITS: {
4591
+ readonly routes: 20000;
4592
+ readonly templates: 5000;
4593
+ readonly components: 10000;
4594
+ readonly collections: 500;
4595
+ readonly entryFiles: 20000;
4596
+ readonly fieldsPerCollection: 500;
4597
+ readonly forms: 2000;
4598
+ readonly blocked: 5000;
4599
+ readonly partialDefault: 500;
4600
+ readonly pages: 20000;
4601
+ readonly entriesPerCollection: 20000;
4602
+ readonly evidenceRows: 20000;
4603
+ readonly timings: 64;
4604
+ readonly styleTokens: 2000;
4605
+ /** Per `styleGuide.used` group, and the families the typography names. */
4606
+ readonly styleValues: 50;
4607
+ /** Section candidates per template, and sections per page in the manifest. */
4608
+ readonly sections: 200;
4609
+ /** Field keys one section holds. */
4610
+ readonly sectionFields: 500;
4611
+ };
4612
+ /** Copy found in source, by kind. Counts only: the values stay in the local cache. */
4613
+ interface LiteralCounts {
4614
+ text: number;
4615
+ image: number;
4616
+ link: number;
4617
+ video: number;
4618
+ }
4619
+ interface SiteMapTemplate {
4620
+ /** Stable across runs: the route file, repo-relative (`src/pages/blog/[slug].astro`). */
4621
+ id: string;
4622
+ /** Repo-relative, forward slashes. */
4623
+ file: string;
4624
+ /** The route it serves, with the framework's own params (`/blog/[slug]`). */
4625
+ pattern: string;
4626
+ /** The routes it renders, when the scan can list them. Exactly one of `routes` and `routeCount`. */
4627
+ routes?: string[];
4628
+ /** How many routes it renders, when listing them would be the 700-route problem again. */
4629
+ routeCount?: number;
4630
+ /** Ids of the components it renders, in source order. */
4631
+ components: string[];
4632
+ literals: LiteralCounts;
4633
+ /** The collection whose entries it renders, or null for a singleton page. */
4634
+ collection: string | null;
4635
+ /**
4636
+ * Version 3: its top-level bands, in page order, as `bettercms sectionize` would wrap them: what the
4637
+ * agent plans its sections from (plan section 7). Absent from an older map, and from a template whose
4638
+ * bands cannot be wrapped (`sectionsRefused` says why).
4639
+ */
4640
+ sections?: SiteMapSection[];
4641
+ /** Version 3: why its bands cannot be wrapped (`SECTION_RUN_DYNAMIC`, `DIALECT_UNSUPPORTED`, …). */
4642
+ sectionsRefused?: {
4643
+ code: string;
4644
+ message: string;
4645
+ };
4646
+ /** Version 3: its bands are `<BcmsSections>` slots already (`bettercms sectionize` ran): `sections` are the slots. */
4647
+ sectionsWrapped?: boolean;
4648
+ }
4649
+ /** What a band is written as: one element, a component, an expression (a `.map()`), a fragment, loose text. */
4650
+ declare const SECTION_KINDS: readonly ["element", "component", "expression", "fragment", "text"];
4651
+ /**
4652
+ * ONE SECTION CANDIDATE: a top-level band of a page, read from its source (version 3). Evidence only:
4653
+ * the agent decides what each is (`.bettercms/sections.json`), the tool never does.
4654
+ */
4655
+ interface SiteMapSection {
4656
+ /**
4657
+ * The band's id, unique in its template: the family of the first field it holds (`hero` of
4658
+ * `hero.title`), else its position (`sec2`). The name its slot and its CMS placement take, and the id
4659
+ * the platform measures the band by, so it is never renamed: a section's name for people is `label`.
4660
+ */
4661
+ id: string;
4662
+ /** Where it is written, repo-relative: the template, or the view component the template draws. */
4663
+ file: string;
4664
+ /** Its source span in `file` (UTF-16 offsets, end exclusive) and its first line (1-based). */
4665
+ start: number;
4666
+ end: number;
4667
+ line: number;
4668
+ kind: (typeof SECTION_KINDS)[number];
4669
+ /** A suggested family (`hero`, `call-to-action`): from the component's name, else the element's class, else the id. */
4670
+ sectionType: string;
4671
+ /** A suggested name for the editor (`Hero`, `Call to action`). */
4672
+ label: string;
4673
+ /** The make-editable keys it holds (`hero.title`, `team[].name`), sorted. */
4674
+ fields: string[];
4675
+ /** The component it renders (an id of `components[]`), or null for markup written in the page. */
4676
+ component: string | null;
4677
+ /** Its prop keys: the component's, else its fields under the family. Variants of one family share them. */
4678
+ props: string[];
4679
+ /** The other templates that render the same component at their top level: a repeat is a family's. */
4680
+ repeats: string[];
4681
+ /** Other candidates' components with the same prop keys: variant candidates of one family. */
4682
+ variants: string[];
4683
+ }
4684
+ interface SiteMapComponent {
4685
+ /** Repo-relative file, plus `#Name` when the file exports several. */
4686
+ id: string;
4687
+ file: string;
4688
+ /** Ids of the templates that render it. */
4689
+ usedBy: string[];
4690
+ /** Its prop keys, in declaration order: the variant evidence (same keys, same family). */
4691
+ props: string[];
4692
+ literals: LiteralCounts;
4693
+ /** Rendered at the top level of a template: a section the agent may plan (plan section 7). */
4694
+ sectionCandidate: boolean;
4695
+ }
4696
+ interface SiteMapLayout {
4697
+ file: string;
4698
+ role: LayoutRole;
4699
+ }
4700
+ interface SiteMapField {
4701
+ key: string;
4702
+ /** A content field type as the server spells it (`text`, `richtext`, `image`, `date`, `document`, …). */
4703
+ type: string;
4704
+ required?: boolean;
4705
+ }
4706
+ interface SiteMapCollection {
4707
+ /** The collection slug (`blog`). */
4708
+ id: string;
4709
+ /** Where its entries live: a content folder or a data module, repo-relative. */
4710
+ source: string;
4711
+ fields: SiteMapField[];
4712
+ /** How many entries. A data module's entries have no file of their own, so `files` may be empty. */
4713
+ entries: number;
4714
+ /** The entry files, repo-relative. Bodies are read only at upload. */
4715
+ files: string[];
4716
+ }
4717
+ interface SiteMapLocales {
4718
+ /** The framework's default locale, or null for a single-language site. */
4719
+ default: string | null;
4720
+ locales: string[];
4721
+ /** Message dictionary files. Reported, not bound, in v1 (risk R6). */
4722
+ dictionaries: string[];
4723
+ /** Ids of the templates that read a dictionary. */
4724
+ readBy: string[];
4725
+ }
4726
+ interface SiteMapForm {
4727
+ file: string;
4728
+ /** 1-based. */
4729
+ line: number;
4730
+ /** Ids of the templates that render it. */
4731
+ templates: string[];
4732
+ action: string | null;
4733
+ method: string | null;
4734
+ /** The provider its code already posts to (`HubSpot`), as the CLI's form-handler detection names it. */
4735
+ handler: string | null;
4736
+ /** How many inputs it has. */
4737
+ fields: number;
4738
+ }
4739
+ interface SiteMapMedia {
4740
+ images: number;
4741
+ videos: number;
4742
+ remoteHosts: string[];
4743
+ /** Files over the media CDN policy, for `bettercms media cdn`. */
4744
+ overPolicy: {
4745
+ file: string;
4746
+ bytes: number;
4747
+ }[];
4748
+ }
4749
+ interface SiteMapStyles {
4750
+ tailwind: boolean;
4751
+ /** Global stylesheets, repo-relative. */
4752
+ files: string[];
4753
+ /** Brand colour tokens as the site names them. */
4754
+ colors: {
4755
+ name: string;
4756
+ value: string;
4757
+ }[];
4758
+ }
4759
+ /**
4760
+ * What a design token is for. Grouped by what the site's own name says (`--color-*`, `--radius-md`,
4761
+ * Tailwind's `theme.spacing`), then by its value when the name says nothing (a colour is a colour).
4762
+ */
4763
+ declare const STYLE_TOKEN_GROUPS: readonly ["color", "font", "fontSize", "fontWeight", "lineHeight", "letterSpacing", "spacing", "radius", "shadow", "breakpoint", "other"];
4764
+ type StyleTokenGroup = (typeof STYLE_TOKEN_GROUPS)[number];
4765
+ /** The groups `styleGuide.used` lists the stylesheets' literal values for: what the lint checks a new value against. */
4766
+ declare const STYLE_USED_GROUPS: readonly ["color", "fontSize", "spacing", "radius", "shadow", "breakpoint"];
4767
+ type StyleUsedGroup = (typeof STYLE_USED_GROUPS)[number];
4768
+ interface StyleGuideToken {
4769
+ /**
4770
+ * As the site names it: a custom property (`--color-primary`, Webflow's `--_color---primary--magenta`),
4771
+ * a Tailwind theme path (`colors.brand.500`, `DEFAULT` folded away), or a token file's path (`color.brand`).
4772
+ */
4773
+ name: string;
4774
+ group: StyleTokenGroup;
4775
+ /** The value, `var()` chains followed to the end. Null when a config COMPUTES it: named, never guessed. */
4776
+ value: string | null;
4777
+ /** The token a value that is only `var(--x)` points at, as that token is named. */
4778
+ alias?: string;
4779
+ /** Repo-relative file it is declared in. */
4780
+ source: string;
4781
+ /** Where in that file: `:root`, `[data-theme="dark"]`, `@theme`, `theme`, `theme.extend`, `tokens`, `app.config`. */
4782
+ scope: string;
4783
+ }
4784
+ /** One of the brand's own colours, `#RRGGBB`, with the token that holds it when one does. */
4785
+ interface StyleGuideColor {
4786
+ value: string;
4787
+ token: string | null;
4788
+ }
4789
+ /** An `@font-face` the site ships. */
4790
+ interface StyleGuideFace {
4791
+ family: string;
4792
+ source: string;
4793
+ /** `400`, or a variable face's range `100 900`. */
4794
+ weight?: string;
4795
+ style?: string;
4796
+ }
4797
+ /** One step of the type scale: a font-size token or a heading rule (`h1`), and its size. */
4798
+ interface StyleGuideStep {
4799
+ name: string;
4800
+ size: string;
4801
+ source: string;
4802
+ }
4803
+ /**
4804
+ * THE SITE'S OWN STYLE GUIDE (plan 13a, A): what the coding agent follows on every element and component
4805
+ * it creates, converts or edits, and what the make-editable and sectionize lint holds a new diff to.
4806
+ */
4807
+ interface SiteMapStyleGuide {
4808
+ tokens: StyleGuideToken[];
4809
+ /** The brand's slots, ranked as the server's brand kit ranks them. Null where the CSS says nothing. */
4810
+ primary: {
4811
+ primary: StyleGuideColor | null;
4812
+ accent: StyleGuideColor | null;
4813
+ background: StyleGuideColor | null;
4814
+ text: StyleGuideColor | null;
4815
+ };
4816
+ typography: {
4817
+ /** The heading and body families, read from the rules that set them. */
4818
+ heading: string | null;
4819
+ body: string | null;
4820
+ /** Every family the stylesheets name, in first-use order. */
4821
+ families: string[];
4822
+ faces: StyleGuideFace[];
4823
+ /** Largest first. */
4824
+ scale: StyleGuideStep[];
4825
+ };
4826
+ /** The literal values the stylesheets already use, most used first: the scale of a site that names no tokens. */
4827
+ used: Record<StyleUsedGroup, string[]>;
4828
+ /** The components that render each kind of element: the ones to reuse rather than copy. Ids, as `components[]`. */
4829
+ components: {
4830
+ buttons: string[];
4831
+ cards: string[];
4832
+ headings: string[];
4833
+ };
4834
+ /** The site's own style guide page (`/style-guide`, `/design-system`, `/styleguide`), the reference to read first. */
4835
+ reference: {
4836
+ route: string;
4837
+ file: string;
4838
+ components: string[];
4839
+ } | null;
4840
+ /** The files the guide was read from, repo-relative. */
4841
+ sources: string[];
4842
+ }
4843
+ interface SiteMapBlocked {
4844
+ file: string;
4845
+ /** An UPPER_SNAKE code, one of BLOCKED_REASONS or a newer scan's own. */
4846
+ reason: string;
4847
+ line?: number;
4848
+ message?: string;
4849
+ }
4850
+ interface SiteMap {
4851
+ /** A writer writes SITE_MAP_VERSION; a reader takes any of SITE_MAP_VERSIONS. */
4852
+ version: SiteMapVersion;
4853
+ toolVersion: string;
4854
+ /**
4855
+ * The commit the scan read, or null outside git. The map is committed, so it names the commit
4856
+ * BEFORE the one that holds it: a reader compares it with the parent, never with HEAD.
4857
+ */
4858
+ sha: string | null;
4859
+ framework: LocalFramework;
4860
+ build: {
4861
+ command: string | null;
4862
+ outDir: string | null;
4863
+ };
4864
+ templates: SiteMapTemplate[];
4865
+ components: SiteMapComponent[];
4866
+ layout: SiteMapLayout[];
4867
+ collections: SiteMapCollection[];
4868
+ locales: SiteMapLocales;
4869
+ forms: SiteMapForm[];
4870
+ media: SiteMapMedia;
4871
+ styles: SiteMapStyles;
4872
+ blocked: SiteMapBlocked[];
4873
+ /** The partial scope's default: home, the header and footer links, one route per collection template. */
4874
+ partialDefault: string[];
4875
+ /** Version 2: the site's style guide. Absent from a version 1 map. */
4876
+ styleGuide?: SiteMapStyleGuide;
4877
+ }
4878
+ /**
4879
+ * One page's sections, as `bettercms sectionize` wrapped them in source: what the server places on the
4880
+ * page (one placement per section, bound to its slot), in source order. Its order is the CMS's from then on.
4881
+ */
4882
+ interface LocalSetupPageSections {
4883
+ /** The CMS page's slug (`home`, `about`); a collection's item template names the collection. */
4884
+ page: string;
4885
+ /** A collection's item template: its list is the collection page's, drawn on every entry. */
4886
+ template?: boolean;
4887
+ /** The template file the sections are written for, repo-relative. */
4888
+ file: string;
4889
+ sections: {
4890
+ /** The slot's name and the placement's bind: a candidate's `id`. */
4891
+ id: string;
4892
+ /** The section's name in the editor. */
4893
+ name: string;
4894
+ /** Its family (`hero`, `call-to-action`). */
4895
+ sectionType: string;
4896
+ /** Its variant within the family, when the plan names one. */
4897
+ variant?: string;
4898
+ /** The site's own component that renders it, when it is one (a `components[]` id). */
4899
+ component?: string | null;
4900
+ }[];
4901
+ }
4902
+ /** As `editor_setup { scope }` takes it. */
4903
+ type LocalSetupScope = {
4904
+ mode: "full";
4905
+ } | {
4906
+ mode: "partial";
4907
+ routes: string[];
4908
+ };
4909
+ type Row = Record<string, unknown>;
4910
+ /**
4911
+ * The manifest inserter's input (`BcmsDoc` in src/lib/templates/ingest.ts), as this package can
4912
+ * spell it without importing the server. Rows stay open records: the inserter is their judge.
4913
+ */
4914
+ interface LocalSetupDoc {
4915
+ schema?: Record<string, {
4916
+ name?: string;
4917
+ fields: Row[];
4918
+ }>;
4919
+ collections?: Record<string, {
4920
+ slug: string;
4921
+ data: Row;
4922
+ status?: "draft" | "published";
4923
+ }[]>;
4924
+ derivedCollections?: true;
4925
+ forms?: Row[];
4926
+ pages?: Row[];
4927
+ components?: Row[];
4928
+ }
4929
+ /**
4930
+ * The conversion receipt, as `submit_conversion_receipt` takes it. Only what every reader needs is
4931
+ * pinned here; the server holds the whole receipt to `conversionReceiptSchema`.
4932
+ */
4933
+ interface LocalSetupReceipt {
4934
+ briefDigest: string;
4935
+ paths: {
4936
+ declared: number;
4937
+ rewritten: number;
4938
+ alreadyDeclared: number;
4939
+ pending: Row[];
4940
+ };
4941
+ [key: string]: unknown;
4942
+ }
4943
+ /** One built route's x-ray (`@bettercms-ai/convert` xray.ts), with the template that rendered it. */
4944
+ interface LocalXray {
4945
+ route: string;
4946
+ template: string | null;
4947
+ /** Characters of visible copy. */
4948
+ visible: number;
4949
+ /** Of those, the characters no binding owns. */
4950
+ unaddressable: number;
4951
+ /** Unowned text inside a section: the rows the gate never excuses. */
4952
+ unbound: {
4953
+ section: string;
4954
+ tag: string;
4955
+ text: string;
4956
+ }[];
4957
+ }
4958
+ /** One address the static proof judged (`@bettercms-ai/convert` proof.ts). */
4959
+ interface LocalProofRow {
4960
+ route?: string;
4961
+ path: string;
4962
+ file?: string;
4963
+ line?: number;
4964
+ reason?: string;
4965
+ }
4966
+ interface LocalProof {
4967
+ sha: string | null;
4968
+ matched: number;
4969
+ formatted: number;
4970
+ indirect: LocalProofRow[];
4971
+ mismatched: LocalProofRow[];
4972
+ inert: LocalProofRow[];
4973
+ conflicts: LocalProofRow[];
4974
+ }
4975
+ /** A sampled route built before and after the codemod, compared with `data-bcms-*` removed. */
4976
+ interface RenderEqualRow {
4977
+ route: string;
4978
+ equal: boolean;
4979
+ /** Where they part, when they do: a short window of each side. */
4980
+ difference?: {
4981
+ at: number;
4982
+ was: string;
4983
+ now: string;
4984
+ };
4985
+ }
4986
+ interface LocalSetupManifest {
4987
+ version: typeof LOCAL_SETUP_VERSION;
4988
+ toolVersion: string;
4989
+ /** The commit whose build the server verifies (a release directory's name, so 7-64 hex). */
4990
+ sha: string;
4991
+ framework: LocalFramework;
4992
+ scope: LocalSetupScope;
4993
+ siteMap: SiteMap;
4994
+ doc: LocalSetupDoc;
4995
+ receipt: LocalSetupReceipt;
4996
+ evidence: {
4997
+ xray: LocalXray[];
4998
+ proof: LocalProof;
4999
+ renderEqual: RenderEqualRow[];
5000
+ };
5001
+ /** Milliseconds per phase (`scan`, `bind`, `build`, …). */
5002
+ timings: Record<string, number>;
5003
+ /** The sections `bettercms sectionize` wrapped, per page. Optional: a site not sectionized sends none. */
5004
+ sections?: LocalSetupPageSections[];
5005
+ }
5006
+ interface LocalSetupIssue {
5007
+ /** Where, as `templates[3].routes[0]`; `(root)` for the whole value. */
5008
+ path: string;
5009
+ message: string;
5010
+ }
5011
+ type LocalSetupParse<T> = {
5012
+ ok: true;
5013
+ value: T;
5014
+ } | {
5015
+ ok: false;
5016
+ issues: LocalSetupIssue[];
5017
+ };
5018
+ /** `.bettercms/site-map.json`, as text or parsed. Never throws. */
5019
+ declare function parseSiteMap(input: unknown): LocalSetupParse<SiteMap>;
5020
+ /** The `POST /current/local-setup` body, as text or parsed. Never throws. */
5021
+ declare function parseLocalSetupManifest(input: unknown): LocalSetupParse<LocalSetupManifest>;
5022
+
4526
5023
  /**
4527
5024
  * `<BcmsSections>`: which of a page's sections render, in what order, and which block each one is.
4528
5025
  *
@@ -5131,4 +5628,4 @@ declare function iconValueProblem(v: unknown, knownName: (name: string) => boole
5131
5628
  */
5132
5629
  declare function iconHtml(v: unknown, className?: string): string;
5133
5630
 
5134
- 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, BG_TOKENS, BG_TOKEN_CSS, 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_TEXT_CSS, BUTTON_TEXT_KEYS, 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 ButtonTextKey, type ButtonValue, type ButtonVariant, CANVAS_GESTURE_NAMES, CATEGORY_ID_MAX, CATEGORY_ORDER, CODE_SLOT_PREFIX, COMPONENT_GATE_CODES, COMPONENT_PROP_TYPES, CONTENT_WIDTH_TOKENS, 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_ICON_SOURCES, 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, FONT_SIZE_TOKEN_PX, FOOTER_SECTION_ID, FORM_UPLOAD, FORM_UPLOAD_DEFAULT_ACCEPT, FORM_UPLOAD_PRESETS, FORM_UPLOAD_REFUSED_EXTENSIONS, 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, ICON_LABEL_MAX, ICON_SOURCES, IMAGE_ASPECTS, IMAGE_FRAME_RADIUS, type IconFieldOptions, type IconObjectValue, type IconSource, type IconSrc, type IconValue, 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 LibraryIconValue, 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 PackIconValue, 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 ResolvedIconOptions, type ResolvedLayoutNode, type ResolvedPost, type RichTextBlock, type RichTextElementName, type RichTextEmbeds, type RichTextFeature, type RichTextProps, type RichTextRefusalCode, type RichTextResolved, SCHEMA_HASH_INPUTS, SECTION_ANCHOR, SECTION_CSS_CLASS, 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_CSS, TABLE_JSONLD_TYPES, TABLE_LIMITS, TABLE_RESPONSIVE, TAB_MAX, TAB_MAX_RENDERABLE_NOW, TAG_HEADS, THEME_TOKENS, 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 UploadIconValue, 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, anchorSlug, anchorTargetRel, blockStyleToColumnCss, blockStyleToCss, blockStyleToInnerCss, bodySchemaOf, buttonBlockProps, buttonFullWidthProblem, buttonIconOf, buttonIconSvg, buttonLinkPairs, buttonLookValue, buttonSiteLookOf, buttonTextCss, buttonTextCssText, buttonTextProblem, buttonValueOfInstance, buttonValueProblem, buttonVariantOf, candidateRole, canonicalJson, compactIcon, componentInstanceAddresses, componentPropTargetKey, defaultSectionAnchors, derivedPairs, dockBudget, dockScreens, dockUiMerkleKey, embedAddress, embedMarkerHtml, embedVisible, evaluateShowIf, exampleFor, expandBlockBindings, fieldGroupOf, fieldStyleCssText, fieldStyleToCss, fileExtension, fileFieldLimits, formUploadAccept, formUploadLimits, formatNumber, formatPropsAttribute, getBlockType, headingPaintCss, hiddenEverywhere, hideOnAttr, iconHtml, iconIdentity, iconSrc, iconValueProblem, imageFrameCss, inWindow, isBlock, isButtonLookValue, isChromeLandmark, isCodeButton, isComponentGateCode, isDeriveReservedKey, isDockUiImportAllowed, isEmbedReason, isIconObjectForm, isLinkObject, isRefusedUploadExtension, isReservedKey, isRoleKey, isRulePaired, isScriptHref, isSlotChild, isTableValue, isUiRefusal, isVariantVisible, keyWords, landmarkRegions, linkAnchorOf, linkHref, linkRefOf, linkValueProblem, locatorFor, locatorPath, mayOverwrite, normaliseRichTextFeatures, normalizeIcon, normalizeLinkValue, normalizeTableValue, normalizeWindow, parseEmbedMarkers, parseNumberText, parsePropsAttribute, pickFieldStyle, placementBindOf, planSections, readButtonValue, readNumberFormat, readPath, referenceCreateRefusal, regionOf, renderTableHtml, resolveIconOptions, richTextRefusal, rulePartnerOf, safeCssUrl, schemaHashInput, sectionIdentityAttrs, 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, withIconLabel };
5631
+ 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, BG_TOKENS, BG_TOKEN_CSS, BLOCKED_REASONS, 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_TEXT_CSS, BUTTON_TEXT_KEYS, 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 ButtonTextKey, type ButtonValue, type ButtonVariant, CANVAS_GESTURE_NAMES, CATEGORY_ID_MAX, CATEGORY_ORDER, CODE_SLOT_PREFIX, COMPONENT_GATE_CODES, COMPONENT_PROP_TYPES, CONTENT_WIDTH_TOKENS, 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_ICON_SOURCES, 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, FONT_SIZE_TOKEN_PX, FOOTER_SECTION_ID, FORM_UPLOAD, FORM_UPLOAD_DEFAULT_ACCEPT, FORM_UPLOAD_PRESETS, FORM_UPLOAD_REFUSED_EXTENSIONS, 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, ICON_LABEL_MAX, ICON_SOURCES, IMAGE_ASPECTS, IMAGE_FRAME_RADIUS, type IconFieldOptions, type IconObjectValue, type IconSource, type IconSrc, type IconValue, type ImageAspect, type ImageBlock, type ImageProps, KEY_FORBIDDEN, KEY_FORMAT, KEY_RESERVED, KEY_RESERVED_PREFIX, KIT_CATEGORIES, type KitCategory, LANDMARK_SELECTOR, LAYOUT_ROLES, LAYOUT_SECTION_ICONS, LAYOUT_SECTION_ICON_SET, LINK_RELS, LINK_VALUE_TYPES, LIST_ITEMS_CAP, LIST_PREVIEW_SLOTS, LOCAL_FRAMEWORKS, LOCAL_SETUP_LIMITS, LOCAL_SETUP_VERSION, LOCATOR_PATH, type LandmarkChainElement, type LandmarkElement, type LayoutComponentItem, type LayoutDataDocument, type LayoutFieldDefinition, type LayoutFieldItem, type LayoutFieldType, type LayoutRole, type LayoutScalarFieldType, type LayoutSection, type LayoutSectionDesign, type LayoutSectionIcon, type LayoutSectionItem, type LayoutStructureDocument, type LayoutZone, type LibraryIconValue, type LinkPairSibling, type LinkRel, type LinkValue, type LinkValueType, type ListDockUiInput, type ListDockUiOutput, type LiteralCounts, type LocalFramework, type LocalProof, type LocalProofRow, type LocalSetupDoc, type LocalSetupIssue, type LocalSetupManifest, type LocalSetupPageSections, type LocalSetupParse, type LocalSetupReceipt, type LocalSetupScope, type LocalXray, type LocatorGrammar, MAIN_SELECTOR, MAX_LOCAL_SETUP_BYTES, MAX_SITE_MAP_BYTES, 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 PackIconValue, 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 RenderEqualRow, type ReservedLayoutSection, type ResolvedAuthor, type ResolvedIconOptions, type ResolvedLayoutNode, type ResolvedPost, type RichTextBlock, type RichTextElementName, type RichTextEmbeds, type RichTextFeature, type RichTextProps, type RichTextRefusalCode, type RichTextResolved, SCHEMA_HASH_INPUTS, SECTION_ANCHOR, SECTION_CSS_CLASS, SECTION_DOCTRINE, SECTION_KINDS, SECTION_SPACE_TOKENS, SEGMENTED_MAX, SEGMENTED_MIN, SHOW_IF_SCOPES, SIDE_SPACE_MIN_PX, SIDE_SPACE_TOKENS, SITE_MAP_VERSION, SITE_MAP_VERSIONS, SLOT_CHILD_KEYS, SLOT_ITEMS_CAP, SLOT_MAX_ITEMS, SLOT_SETTINGS_MAX, SLOT_SETTINGS_TYPES, SOURCE_RANK, SPACE_BOTTOM_TOKENS, SPACE_STEP_TOKENS, STYLE_TOKEN_GROUPS, STYLE_USED_GROUPS, 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 SiteMap, type SiteMapBlocked, type SiteMapCollection, type SiteMapComponent, type SiteMapField, type SiteMapForm, type SiteMapLayout, type SiteMapLocales, type SiteMapMedia, type SiteMapSection, type SiteMapStyleGuide, type SiteMapStyles, type SiteMapTemplate, type SiteMapVersion, 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, type StyleGuideColor, type StyleGuideFace, type StyleGuideStep, type StyleGuideToken, type StyleTokenGroup, type StyleUsedGroup, TABLE_COLUMN_TYPES, TABLE_CSS, TABLE_JSONLD_TYPES, TABLE_LIMITS, TABLE_RESPONSIVE, TAB_MAX, TAB_MAX_RENDERABLE_NOW, TAG_HEADS, THEME_TOKENS, 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 UploadIconValue, 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, anchorSlug, anchorTargetRel, blockStyleToColumnCss, blockStyleToCss, blockStyleToInnerCss, bodySchemaOf, buttonBlockProps, buttonFullWidthProblem, buttonIconOf, buttonIconSvg, buttonLinkPairs, buttonLookValue, buttonSiteLookOf, buttonTextCss, buttonTextCssText, buttonTextProblem, buttonValueOfInstance, buttonValueProblem, buttonVariantOf, candidateRole, canonicalJson, compactIcon, componentInstanceAddresses, componentPropTargetKey, defaultSectionAnchors, derivedPairs, dockBudget, dockScreens, dockUiMerkleKey, embedAddress, embedMarkerHtml, embedVisible, evaluateShowIf, exampleFor, expandBlockBindings, fieldGroupOf, fieldStyleCssText, fieldStyleToCss, fileExtension, fileFieldLimits, formUploadAccept, formUploadLimits, formatNumber, formatPropsAttribute, getBlockType, headingPaintCss, hiddenEverywhere, hideOnAttr, iconHtml, iconIdentity, iconSrc, iconValueProblem, imageFrameCss, inWindow, isBlock, isButtonLookValue, isChromeLandmark, isCodeButton, isComponentGateCode, isDeriveReservedKey, isDockUiImportAllowed, isEmbedReason, isIconObjectForm, isLinkObject, isRefusedUploadExtension, isReservedKey, isRoleKey, isRulePaired, isScriptHref, isSlotChild, isTableValue, isUiRefusal, isVariantVisible, keyWords, landmarkRegions, linkAnchorOf, linkHref, linkRefOf, linkValueProblem, locatorFor, locatorPath, mayOverwrite, normaliseRichTextFeatures, normalizeIcon, normalizeLinkValue, normalizeTableValue, normalizeWindow, parseEmbedMarkers, parseLocalSetupManifest, parseNumberText, parsePropsAttribute, parseSiteMap, pickFieldStyle, placementBindOf, planSections, readButtonValue, readNumberFormat, readPath, referenceCreateRefusal, regionOf, renderTableHtml, resolveIconOptions, richTextRefusal, rulePartnerOf, safeCssUrl, schemaHashInput, sectionIdentityAttrs, 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, withIconLabel };