@vectoriox/iox-ui 5.133.0 → 5.135.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.
Files changed (77) hide show
  1. package/commerce-core/index.d.ts +12 -1
  2. package/composite-core/index.d.ts +27 -22
  3. package/design-core/index.d.ts +436 -35
  4. package/domain-core/index.d.ts +353 -0
  5. package/domain-core/package.json +3 -0
  6. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +2 -0
  7. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-assist-core.mjs +6 -48
  9. package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-commerce-core.mjs +21 -0
  11. package/fesm2022/vectoriox-iox-ui-commerce-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +68 -57
  13. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  14. package/fesm2022/vectoriox-iox-ui-design-core.mjs +895 -416
  15. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  16. package/fesm2022/vectoriox-iox-ui-domain-core.mjs +422 -0
  17. package/fesm2022/vectoriox-iox-ui-domain-core.mjs.map +1 -0
  18. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +14039 -12067
  19. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  20. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +9 -3
  21. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  22. package/fesm2022/vectoriox-iox-ui-mail-core.mjs +210 -2
  23. package/fesm2022/vectoriox-iox-ui-mail-core.mjs.map +1 -1
  24. package/fesm2022/vectoriox-iox-ui.mjs +290 -16
  25. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  26. package/generation-core/index.d.ts +1511 -432
  27. package/harness-core/index.d.ts +6 -1
  28. package/index.d.ts +139 -10
  29. package/mail-core/index.d.ts +190 -2
  30. package/package.json +5 -1
  31. package/src/actions-core/element-actions.ts +2 -0
  32. package/src/assist-core/page-sections.ts +7 -37
  33. package/src/commerce-core/shop-display.ts +21 -0
  34. package/src/composite-core/shop.ts +71 -57
  35. package/src/design-core/design-settings.ts +16 -0
  36. package/src/design-core/design-token.model.ts +7 -1
  37. package/src/design-core/flavor-spec.generated.ts +374 -35
  38. package/src/design-core/flavor-tokens.ts +12 -1
  39. package/src/design-core/header-behaviour.ts +32 -0
  40. package/src/design-core/motion-language.ts +115 -0
  41. package/src/design-core/public-api.ts +1 -0
  42. package/src/design-core/style-presets.ts +3 -0
  43. package/src/domain-core/domain-vocabulary.ts +125 -0
  44. package/src/domain-core/domain-wire.ts +95 -0
  45. package/src/domain-core/org-path-redirect.ts +105 -0
  46. package/src/domain-core/public-api.ts +12 -0
  47. package/src/domain-core/web-domain.ts +251 -0
  48. package/src/generation-core/carry-fill.ts +36 -0
  49. package/src/generation-core/carry.ts +398 -0
  50. package/src/generation-core/check-carry.ts +216 -0
  51. package/src/generation-core/check-layout.ts +71 -5
  52. package/src/generation-core/compose-layout.ts +187 -28
  53. package/src/generation-core/compose-site.ts +154 -31
  54. package/src/generation-core/entrances.ts +66 -10
  55. package/src/generation-core/header-edit.ts +299 -0
  56. package/src/generation-core/header-mix.ts +64 -5
  57. package/src/generation-core/layout-fingerprint.ts +5 -1
  58. package/src/generation-core/layout-language.ts +20 -1
  59. package/src/generation-core/layout-space.ts +4 -4
  60. package/src/generation-core/layout-wire.ts +36 -1
  61. package/src/generation-core/node-baselines.generated.ts +1 -0
  62. package/src/generation-core/public-api.ts +7 -0
  63. package/src/generation-core/redesign-additions.ts +273 -0
  64. package/src/generation-core/redesign-run.ts +364 -0
  65. package/src/generation-core/refit-page.ts +151 -0
  66. package/src/generation-core/section-stamp.ts +4 -4
  67. package/src/generation-core/shop-plan.ts +15 -0
  68. package/src/generation-core/site-build-run.ts +67 -3
  69. package/src/generation-core/site-spec.generated.ts +194 -94
  70. package/src/generation-core/site-tree.ts +19 -5
  71. package/src/generation-core/validate-site-plan.ts +37 -3
  72. package/src/harness-core/motion.ts +13 -3
  73. package/src/harness-core/starting-design.ts +1 -1
  74. package/src/mail-core/mail-domain.ts +305 -0
  75. package/src/mail-core/mail-wire.ts +8 -0
  76. package/src/mail-core/public-api.ts +3 -1
  77. package/styles/iox-design.css +30 -1
@@ -1,5 +1,5 @@
1
1
  import { FrameSequence } from '@vectoriox/iox-ui/media-core';
2
- import { DesignChoices, AnimateId, MenuLook, ColorScheme, DesignTokenLike, StylePreset } from '@vectoriox/iox-ui/design-core';
2
+ import { DesignChoices, AnimateId, MoveId, MenuLook, ColorScheme, DesignTokenLike, StylePreset } from '@vectoriox/iox-ui/design-core';
3
3
  import { SeoRawDoc } from '@vectoriox/iox-ui/seo-core';
4
4
  import { ConsentCategory } from '@vectoriox/iox-ui/consent-core';
5
5
  import { CardPart, ContentFieldLike } from '@vectoriox/iox-ui/composite-core';
@@ -77,6 +77,8 @@ declare const SPEC_SITE_PLAN_SHAPE: {
77
77
  readonly "scroll?": "string — axes.scrolls: how the site scrolls (rev 3.1; absent = axes.motionChoices.pre)";
78
78
  readonly "animate?": "string — axes.animations: how much the sections move in as they scroll into view";
79
79
  readonly "between?": "string — axes.betweens: what plays between pages";
80
+ readonly "feel?": "string — motionLanguage.arrive: the curve things arrive on, the leave follows it (AW3, MB-D5; absent = motionLanguage.defaults.arrive)";
81
+ readonly "headings?": "string — motionLanguage.move: how headings arrive (AW3; absent = each How animated level's own heading)";
80
82
  };
81
83
  readonly contentType: {
82
84
  readonly name: "string — unique";
@@ -6233,6 +6235,69 @@ declare const SPEC_SITE_LAYOUT: {
6233
6235
  readonly "inBar.icons": "small icons (sound, theme, chat) in the bar";
6234
6236
  readonly "inBar.search": "a search field in the bar";
6235
6237
  };
6238
+ readonly meaningsHe: {
6239
+ readonly "arrange.split": "השם בתחילת הפס, הדפים בסופו";
6240
+ readonly "arrange.centred": "השם במרכז, הדפים מתחתיו";
6241
+ readonly "arrange.between": "הדפים משני צדי שם ממורכז";
6242
+ readonly "arrange.name-only": "רק השם וכפתור תפריט, בכל רוחב";
6243
+ readonly "menuSide.end": "כפתור התפריט בסוף הפס";
6244
+ readonly "menuSide.start": "כפתור התפריט בתחילת הפס";
6245
+ readonly "pages.inline": "כל הדפים בפס";
6246
+ readonly "pages.menu": "הדפים מאחורי התפריט";
6247
+ readonly "pages.menu-pinned": "הדפים מאחורי התפריט, ודף מרכזי אחד או שניים נשארים בפס";
6248
+ readonly "menu.drawer": "מגירה שנפתחת מהקצה של כפתור התפריט";
6249
+ readonly "menu.full": "אינדקס גדול של שמות הדפים על כל המסך";
6250
+ readonly "menu.panel": "לוח שיורד מלמעלה, בגובה התוכן שלו";
6251
+ readonly "menu.card": "כרטיס שנפתח מהפינה של כפתור התפריט";
6252
+ readonly "menu.mega": "לוח רחב מתחת לפס, הדפים בטורים";
6253
+ readonly "menuShows.links": "שמות הדפים";
6254
+ readonly "menuShows.pictures": "כרטיסים עם תמונה לאוספים הראשיים, ליד שמות הדפים";
6255
+ readonly "menuShows.big": "שמות הדפים, בגדול";
6256
+ readonly "menuShows.two-levels": "מדורים, והפריטים של המדור שתחת העכבר עם המספר שלהם";
6257
+ readonly "menuShows.words-card": "שמות הדפים בגדול, וכרטיס (תמונה או סרטון) לצידם";
6258
+ readonly "action.none": "בלי קריאה לפעולה";
6259
+ readonly "action.button": "כפתור אחד";
6260
+ readonly "action.link": "קישור שקט אחד";
6261
+ readonly "action.two": "כפתור מלא וכפתור עם מסגרת";
6262
+ readonly "ground.solid": "רקע משלו";
6263
+ readonly "ground.over": "מעל הפתיחה, שקוף עד שהדף זז";
6264
+ readonly "ground.glass": "זכוכית חלבית (מראה עם טשטוש)";
6265
+ readonly "ground.blend": "נבלע במה שמתחתיו, קריא מעל כל תמונה";
6266
+ readonly "shape.bar": "פס ברוחב מלא";
6267
+ readonly "shape.pill": "פס מעוגל אחד שמרחף";
6268
+ readonly "shape.islands": "גלולות נפרדות שמרחפות";
6269
+ readonly "brand.fits": "השם נכנס בפס";
6270
+ readonly "brand.hangs": "לוגו גדול מהפס, שתלוי מתחתיו";
6271
+ readonly "brand.later": "השם מגיע כשהדף זז";
6272
+ readonly "scroll.stays": "תמיד שם";
6273
+ readonly "scroll.hides": "נעלם בגלילה למטה, חוזר בגלילה למעלה";
6274
+ readonly "scroll.away": "נגלל יחד עם הדף";
6275
+ readonly "edge.fade": "צל רך מתחתיו כשהדף זז";
6276
+ readonly "edge.line": "קו דק מתחתיו כשהדף זז";
6277
+ readonly "edge.none": "בלי קצה";
6278
+ readonly "phone.drawer": "מגירה בטלפון";
6279
+ readonly "phone.bar": "פס תחתון בטלפון";
6280
+ readonly "phone.both": "פס תחתון ומגירה בטלפון";
6281
+ readonly "phone.full": "אינדקס על כל המסך בטלפון";
6282
+ readonly "reveal.slide": "מחליק פנימה: מגירה מהקצה שלה, כל תפריט אחר בירידה קצרה";
6283
+ readonly "reveal.fade": "נכנס בדהייה";
6284
+ readonly "reveal.zoom": "גדל מהפינה של כפתור התפריט";
6285
+ readonly "reveal.circle": "עיגול שנפתח מכפתור התפריט";
6286
+ readonly "reveal.torn": "קצה קרוע שנפתח מכפתור התפריט, עם שוליים בצבע המבטא";
6287
+ readonly "button.lines": "שלושה קווים שהופכים לאיקס";
6288
+ readonly "button.word": "המילה תפריט, שהופכת לסגירה";
6289
+ readonly "button.dots": "תשע נקודות שמתפזרות תחת העכבר והופכות לאיקס";
6290
+ readonly "menuHover.line": "קו נמתח מתחת לשם הדף";
6291
+ readonly "menuHover.dim": "שאר שמות הדפים מתעמעמים";
6292
+ readonly "menuHover.row": "השורה שתחת העכבר מוארת";
6293
+ readonly "menuHover.none": "שום דבר לא זז תחת העכבר";
6294
+ readonly "above.none": "שום דבר מעל הפס";
6295
+ readonly "above.announcement": "שורה אחת של חדשות מעל הפס";
6296
+ readonly "above.marquee": "פס נע של מילים מעל הפס";
6297
+ readonly "inBar.none": "שום דבר נוסף בפס";
6298
+ readonly "inBar.icons": "אייקונים קטנים (צליל, ערכת צבע, צ׳אט) בפס";
6299
+ readonly "inBar.search": "שדה חיפוש בפס";
6300
+ };
6236
6301
  readonly waits: {
6237
6302
  readonly "menuShows.pictures": {
6238
6303
  readonly phase: "HI2";
@@ -6320,6 +6385,70 @@ declare const SPEC_SITE_LAYOUT: {
6320
6385
  readonly arrange: "centred";
6321
6386
  };
6322
6387
  };
6388
+ readonly gallery: readonly [{
6389
+ readonly id: "studio";
6390
+ readonly name: "Studio";
6391
+ readonly nameHe: "סטודיו";
6392
+ readonly words: "Name and pages · one button · drawer on a phone";
6393
+ readonly wordsHe: "שם ודפים · כפתור אחד · מגירה בטלפון";
6394
+ readonly mix: {};
6395
+ }, {
6396
+ readonly id: "card";
6397
+ readonly name: "Card from the button";
6398
+ readonly nameHe: "כרטיס מהכפתור";
6399
+ readonly words: "Name and menu · a card · circle · dots";
6400
+ readonly wordsHe: "שם ותפריט · כרטיס · עיגול · נקודות";
6401
+ readonly mix: {
6402
+ readonly arrange: "name-only";
6403
+ readonly pages: "menu";
6404
+ readonly menu: "card";
6405
+ readonly reveal: "circle";
6406
+ readonly button: "dots";
6407
+ readonly menuHover: "dim";
6408
+ readonly action: "none";
6409
+ };
6410
+ }, {
6411
+ readonly id: "directory";
6412
+ readonly name: "Directory";
6413
+ readonly nameHe: "מדריך";
6414
+ readonly words: "Stays · a line once scrolled · two actions";
6415
+ readonly wordsHe: "נשאר למעלה · קו כשגוללים · שתי פעולות";
6416
+ readonly mix: {
6417
+ readonly action: "two";
6418
+ readonly scroll: "stays";
6419
+ readonly edge: "line";
6420
+ readonly menuHover: "row";
6421
+ };
6422
+ }, {
6423
+ readonly id: "index";
6424
+ readonly name: "Index";
6425
+ readonly nameHe: "אינדקס";
6426
+ readonly words: "Name and menu · the full screen · the word Menu";
6427
+ readonly wordsHe: "שם ותפריט · כל המסך · המילה תפריט";
6428
+ readonly mix: {
6429
+ readonly arrange: "name-only";
6430
+ readonly pages: "menu";
6431
+ readonly menu: "full";
6432
+ readonly reveal: "fade";
6433
+ readonly button: "word";
6434
+ readonly action: "none";
6435
+ readonly phone: "full";
6436
+ };
6437
+ }, {
6438
+ readonly id: "shop-first";
6439
+ readonly name: "Shop first";
6440
+ readonly nameHe: "החנות קודם";
6441
+ readonly words: "Menu at the start · the shop kept · a top panel";
6442
+ readonly wordsHe: "תפריט בהתחלה · החנות נשארת · לוח עליון";
6443
+ readonly mix: {
6444
+ readonly arrange: "name-only";
6445
+ readonly menuSide: "start";
6446
+ readonly pages: "menu-pinned";
6447
+ readonly menu: "panel";
6448
+ readonly reveal: "slide";
6449
+ readonly action: "none";
6450
+ };
6451
+ }];
6323
6452
  readonly navKinds: {
6324
6453
  readonly bar: {};
6325
6454
  readonly corner: {
@@ -7764,7 +7893,7 @@ declare const SPEC_SITE_LAYOUT: {
7764
7893
  readonly motion: {
7765
7894
  readonly ingredients: {
7766
7895
  readonly arrive: readonly ["enter", "expo-out", "quart-out", "spring", "pop"];
7767
- readonly leave: readonly ["exit", "expo-out", "quart-out", "in-out"];
7896
+ readonly leave: readonly ["exit", "expo-out", "quart-out"];
7768
7897
  readonly move: readonly ["rise", "mask-rise", "clip", "fade", "words-lit", "blur-in"];
7769
7898
  readonly cover: readonly ["none", "fade", "slide", "cinematic", "flood", "wipe", "circle", "veil", "interstitial", "controls"];
7770
7899
  readonly preloader: readonly ["none", "mark", "counter", "letters"];
@@ -7780,10 +7909,9 @@ declare const SPEC_SITE_LAYOUT: {
7780
7909
  readonly "arrive.quart-out": "a quick start, a firm landing";
7781
7910
  readonly "arrive.spring": "the look's spring, settling with a little give";
7782
7911
  readonly "arrive.pop": "settles just past its place and back (Lively and Expressive looks only)";
7783
- readonly "leave.exit": "today's leaving curve";
7912
+ readonly "leave.exit": "leaves quickly and firmly (the stand-in name of quart-out — MB-D1)";
7784
7913
  readonly "leave.expo-out": "leaves fast, fades out softly";
7785
7914
  readonly "leave.quart-out": "leaves quickly and firmly";
7786
- readonly "leave.in-out": "leaves measured, like a machine";
7787
7915
  readonly "move.rise": "headings rise into place";
7788
7916
  readonly "move.mask-rise": "heading lines rise out of their own masks, one by one";
7789
7917
  readonly "move.clip": "headings and pictures open from one side";
@@ -7826,62 +7954,6 @@ declare const SPEC_SITE_LAYOUT: {
7826
7954
  readonly "micro.odometer": "a price's digits roll when the period changes";
7827
7955
  };
7828
7956
  readonly waits: {
7829
- readonly "arrive.expo-out": {
7830
- readonly phase: "AW3";
7831
- readonly drawnAs: "enter";
7832
- };
7833
- readonly "arrive.quart-out": {
7834
- readonly phase: "AW3";
7835
- readonly drawnAs: "enter";
7836
- };
7837
- readonly "arrive.spring": {
7838
- readonly phase: "AW3";
7839
- readonly drawnAs: "enter";
7840
- };
7841
- readonly "arrive.pop": {
7842
- readonly phase: "AW3";
7843
- readonly drawnAs: "enter";
7844
- };
7845
- readonly "leave.expo-out": {
7846
- readonly phase: "AW3";
7847
- readonly drawnAs: "exit";
7848
- };
7849
- readonly "leave.quart-out": {
7850
- readonly phase: "AW3";
7851
- readonly drawnAs: "exit";
7852
- };
7853
- readonly "leave.in-out": {
7854
- readonly phase: "AW3";
7855
- readonly drawnAs: "exit";
7856
- };
7857
- readonly "move.blur-in": {
7858
- readonly phase: "AW3";
7859
- readonly drawnAs: "fade";
7860
- };
7861
- readonly "cover.flood": {
7862
- readonly phase: "AW4";
7863
- readonly drawnAs: "fade";
7864
- };
7865
- readonly "cover.wipe": {
7866
- readonly phase: "AW4";
7867
- readonly drawnAs: "fade";
7868
- };
7869
- readonly "cover.circle": {
7870
- readonly phase: "AW4";
7871
- readonly drawnAs: "fade";
7872
- };
7873
- readonly "cover.veil": {
7874
- readonly phase: "AW4";
7875
- readonly drawnAs: "fade";
7876
- };
7877
- readonly "cover.interstitial": {
7878
- readonly phase: "AW4";
7879
- readonly drawnAs: "fade";
7880
- };
7881
- readonly "cover.controls": {
7882
- readonly phase: "AW4";
7883
- readonly drawnAs: "none";
7884
- };
7885
7957
  readonly "preloader.mark": {
7886
7958
  readonly phase: "AW5";
7887
7959
  readonly drawnAs: "none";
@@ -7965,7 +8037,7 @@ declare const SPEC_SITE_LAYOUT: {
7965
8037
  };
7966
8038
  readonly defaults: {
7967
8039
  readonly arrive: "enter";
7968
- readonly leave: "exit";
8040
+ readonly leave: "quart-out";
7969
8041
  readonly move: "rise";
7970
8042
  readonly cover: "none";
7971
8043
  readonly preloader: "none";
@@ -7976,7 +8048,7 @@ declare const SPEC_SITE_LAYOUT: {
7976
8048
  };
7977
8049
  readonly curves: {
7978
8050
  readonly enter: "cubic-bezier(0.05, 0.7, 0.1, 1)";
7979
- readonly exit: "cubic-bezier(0.3, 0, 0.8, 0.15)";
8051
+ readonly exit: "cubic-bezier(0.25, 1, 0.5, 1)";
7980
8052
  readonly "expo-out": "cubic-bezier(0.16, 1, 0.3, 1)";
7981
8053
  readonly "quart-out": "cubic-bezier(0.25, 1, 0.5, 1)";
7982
8054
  readonly "in-out": "cubic-bezier(0.65, 0, 0.35, 1)";
@@ -7988,11 +8060,7 @@ declare const SPEC_SITE_LAYOUT: {
7988
8060
  readonly arrive: "ease-enter";
7989
8061
  readonly leave: "ease-exit";
7990
8062
  };
7991
- readonly add: readonly [{
7992
- readonly name: "ease-pop";
7993
- readonly phase: "AW3";
7994
- readonly from: "pop";
7995
- }];
8063
+ readonly add: readonly [];
7996
8064
  };
7997
8065
  readonly fingerprint: readonly ["move", "cover", "preloader"];
7998
8066
  readonly rules: {
@@ -8000,6 +8068,29 @@ declare const SPEC_SITE_LAYOUT: {
8000
8068
  readonly preloaderCapMs: 1500;
8001
8069
  readonly preloaderLevels: readonly ["lively", "expressive"];
8002
8070
  readonly popLevels: readonly ["lively", "expressive"];
8071
+ readonly leaveFor: {
8072
+ readonly enter: "exit";
8073
+ readonly "expo-out": "expo-out";
8074
+ readonly "quart-out": "quart-out";
8075
+ readonly spring: "quart-out";
8076
+ readonly pop: "quart-out";
8077
+ };
8078
+ readonly quietLevels: readonly ["subtle"];
8079
+ readonly quiet: {
8080
+ readonly riseDistance: 8;
8081
+ readonly clipFrom: 85;
8082
+ readonly maskBy: "together";
8083
+ };
8084
+ readonly planFallback: {
8085
+ readonly arrive: "enter";
8086
+ readonly move: "fade";
8087
+ readonly cover: "fade";
8088
+ };
8089
+ readonly coverMaxMs: {
8090
+ readonly cover: 400;
8091
+ readonly hold: 120;
8092
+ readonly uncover: 500;
8093
+ };
8003
8094
  };
8004
8095
  readonly reduced: {
8005
8096
  readonly phase: "AW3";
@@ -8018,6 +8109,7 @@ declare const SPEC_SITE_LAYOUT: {
8018
8109
  readonly tiers: {
8019
8110
  readonly "arrive.enter": "all";
8020
8111
  readonly "leave.exit": "all";
8112
+ readonly "leave.quart-out": "all";
8021
8113
  readonly "move.rise": "all";
8022
8114
  readonly "move.mask-rise": "all";
8023
8115
  readonly "move.clip": "all";
@@ -8035,13 +8127,16 @@ declare const SPEC_SITE_LAYOUT: {
8035
8127
  readonly "rules.preloaderCapMs": "all";
8036
8128
  readonly "rules.preloaderLevels": "all";
8037
8129
  readonly "rules.popLevels": "all";
8130
+ readonly "rules.leaveFor": "all";
8131
+ readonly "rules.quietLevels": "all";
8132
+ readonly "rules.quiet": "all";
8133
+ readonly "rules.planFallback": "all";
8134
+ readonly "rules.coverMaxMs": "all";
8038
8135
  readonly "arrive.expo-out": "pro";
8039
8136
  readonly "arrive.quart-out": "pro";
8040
8137
  readonly "arrive.spring": "pro";
8041
8138
  readonly "arrive.pop": "pro";
8042
8139
  readonly "leave.expo-out": "pro";
8043
- readonly "leave.quart-out": "pro";
8044
- readonly "leave.in-out": "pro";
8045
8140
  readonly "move.blur-in": "pro";
8046
8141
  readonly "cover.flood": "pro";
8047
8142
  readonly "cover.wipe": "pro";
@@ -8073,26 +8168,26 @@ declare const SPEC_SITE_LAYOUT: {
8073
8168
  readonly presets: {
8074
8169
  readonly "clear-care": {
8075
8170
  readonly arrive: "quart-out";
8076
- readonly leave: "exit";
8171
+ readonly leave: "quart-out";
8077
8172
  readonly move: "rise";
8078
8173
  readonly cover: "fade";
8079
8174
  };
8080
8175
  readonly "swiss-grid": {
8081
8176
  readonly arrive: "quart-out";
8082
- readonly leave: "in-out";
8177
+ readonly leave: "quart-out";
8083
8178
  readonly move: "clip";
8084
8179
  readonly cover: "none";
8085
8180
  readonly micro: readonly ["fill-sweep"];
8086
8181
  };
8087
8182
  readonly "trusted-advisor": {
8088
8183
  readonly arrive: "quart-out";
8089
- readonly leave: "exit";
8184
+ readonly leave: "quart-out";
8090
8185
  readonly move: "rise";
8091
8186
  readonly cover: "fade";
8092
8187
  };
8093
8188
  readonly "fresh-practice": {
8094
8189
  readonly arrive: "expo-out";
8095
- readonly leave: "exit";
8190
+ readonly leave: "quart-out";
8096
8191
  readonly move: "fade";
8097
8192
  readonly cover: "fade";
8098
8193
  };
@@ -8106,14 +8201,14 @@ declare const SPEC_SITE_LAYOUT: {
8106
8201
  };
8107
8202
  readonly "warm-editorial": {
8108
8203
  readonly arrive: "quart-out";
8109
- readonly leave: "exit";
8204
+ readonly leave: "quart-out";
8110
8205
  readonly move: "mask-rise";
8111
8206
  readonly cover: "interstitial";
8112
8207
  readonly micro: readonly ["label-roll"];
8113
8208
  };
8114
8209
  readonly "soft-spa": {
8115
8210
  readonly arrive: "expo-out";
8116
- readonly leave: "exit";
8211
+ readonly leave: "quart-out";
8117
8212
  readonly move: "blur-in";
8118
8213
  readonly cover: "fade";
8119
8214
  readonly loops: "drift";
@@ -8127,7 +8222,7 @@ declare const SPEC_SITE_LAYOUT: {
8127
8222
  };
8128
8223
  readonly "after-dark": {
8129
8224
  readonly arrive: "expo-out";
8130
- readonly leave: "exit";
8225
+ readonly leave: "quart-out";
8131
8226
  readonly move: "mask-rise";
8132
8227
  readonly cover: "flood";
8133
8228
  readonly preloader: "mark";
@@ -8137,7 +8232,7 @@ declare const SPEC_SITE_LAYOUT: {
8137
8232
  };
8138
8233
  readonly "ink-studio": {
8139
8234
  readonly arrive: "quart-out";
8140
- readonly leave: "exit";
8235
+ readonly leave: "quart-out";
8141
8236
  readonly move: "mask-rise";
8142
8237
  readonly cover: "wipe";
8143
8238
  readonly micro: readonly ["label-roll", "fill-sweep"];
@@ -8152,7 +8247,7 @@ declare const SPEC_SITE_LAYOUT: {
8152
8247
  };
8153
8248
  readonly "tech-studio": {
8154
8249
  readonly arrive: "quart-out";
8155
- readonly leave: "exit";
8250
+ readonly leave: "quart-out";
8156
8251
  readonly move: "words-lit";
8157
8252
  readonly cover: "fade";
8158
8253
  readonly preloader: "counter";
@@ -8163,13 +8258,13 @@ declare const SPEC_SITE_LAYOUT: {
8163
8258
  };
8164
8259
  readonly "morning-glass": {
8165
8260
  readonly arrive: "expo-out";
8166
- readonly leave: "exit";
8261
+ readonly leave: "quart-out";
8167
8262
  readonly move: "blur-in";
8168
8263
  readonly cover: "fade";
8169
8264
  };
8170
8265
  readonly "holiday-light": {
8171
8266
  readonly arrive: "spring";
8172
- readonly leave: "exit";
8267
+ readonly leave: "quart-out";
8173
8268
  readonly move: "rise";
8174
8269
  readonly cover: "circle";
8175
8270
  readonly micro: readonly ["arrow-nudge"];
@@ -8184,14 +8279,14 @@ declare const SPEC_SITE_LAYOUT: {
8184
8279
  };
8185
8280
  readonly "coral-studio": {
8186
8281
  readonly arrive: "pop";
8187
- readonly leave: "exit";
8282
+ readonly leave: "quart-out";
8188
8283
  readonly move: "rise";
8189
8284
  readonly cover: "slide";
8190
8285
  readonly micro: readonly ["fill-sweep", "arrow-nudge"];
8191
8286
  };
8192
8287
  readonly "corner-cafe": {
8193
8288
  readonly arrive: "spring";
8194
- readonly leave: "exit";
8289
+ readonly leave: "quart-out";
8195
8290
  readonly move: "rise";
8196
8291
  readonly cover: "slide";
8197
8292
  readonly preloader: "mark";
@@ -8200,27 +8295,27 @@ declare const SPEC_SITE_LAYOUT: {
8200
8295
  };
8201
8296
  readonly "kind-community": {
8202
8297
  readonly arrive: "quart-out";
8203
- readonly leave: "exit";
8298
+ readonly leave: "quart-out";
8204
8299
  readonly move: "rise";
8205
8300
  readonly cover: "fade";
8206
8301
  };
8207
8302
  readonly "little-ones": {
8208
8303
  readonly arrive: "pop";
8209
- readonly leave: "exit";
8304
+ readonly leave: "quart-out";
8210
8305
  readonly move: "rise";
8211
8306
  readonly cover: "circle";
8212
8307
  readonly micro: readonly ["arrow-nudge"];
8213
8308
  };
8214
8309
  readonly "garden-party": {
8215
8310
  readonly arrive: "spring";
8216
- readonly leave: "exit";
8311
+ readonly leave: "quart-out";
8217
8312
  readonly move: "rise";
8218
8313
  readonly cover: "fade";
8219
8314
  readonly loops: "drift";
8220
8315
  };
8221
8316
  readonly "bold-maker": {
8222
8317
  readonly arrive: "pop";
8223
- readonly leave: "exit";
8318
+ readonly leave: "quart-out";
8224
8319
  readonly move: "mask-rise";
8225
8320
  readonly cover: "flood";
8226
8321
  readonly preloader: "counter";
@@ -8230,7 +8325,7 @@ declare const SPEC_SITE_LAYOUT: {
8230
8325
  };
8231
8326
  readonly festival: {
8232
8327
  readonly arrive: "pop";
8233
- readonly leave: "exit";
8328
+ readonly leave: "quart-out";
8234
8329
  readonly move: "rise";
8235
8330
  readonly cover: "circle";
8236
8331
  readonly preloader: "letters";
@@ -8239,7 +8334,7 @@ declare const SPEC_SITE_LAYOUT: {
8239
8334
  };
8240
8335
  readonly zine: {
8241
8336
  readonly arrive: "quart-out";
8242
- readonly leave: "in-out";
8337
+ readonly leave: "quart-out";
8243
8338
  readonly move: "clip";
8244
8339
  readonly cover: "wipe";
8245
8340
  readonly preloader: "letters";
@@ -8249,7 +8344,7 @@ declare const SPEC_SITE_LAYOUT: {
8249
8344
  };
8250
8345
  readonly "fresh-market": {
8251
8346
  readonly arrive: "spring";
8252
- readonly leave: "exit";
8347
+ readonly leave: "quart-out";
8253
8348
  readonly move: "rise";
8254
8349
  readonly cover: "slide";
8255
8350
  readonly micro: readonly ["fill-sweep"];
@@ -8292,7 +8387,7 @@ declare const SPEC_SITE_LAYOUT: {
8292
8387
  readonly added: "2026-11-20";
8293
8388
  readonly mix: {
8294
8389
  readonly arrive: "quart-out";
8295
- readonly leave: "in-out";
8390
+ readonly leave: "quart-out";
8296
8391
  readonly cover: "veil";
8297
8392
  readonly scrub: "entrances";
8298
8393
  readonly micro: readonly ["cursor-label"];
@@ -9040,6 +9135,10 @@ interface LayoutLayer {
9040
9135
  inner?: number;
9041
9136
  kinetic?: boolean;
9042
9137
  motion?: LayoutTrack[];
9138
+ /** A redesign (site-redesign RD1): the owner's part this layer places, by its carry handle (`w3`, `p1`,
9139
+ * `form:<formId>` — generation-core `harvestPage`) — instead of literal copy. The words, the photo or the form come
9140
+ * from the page as it was; `checkCarry` judges every handle. */
9141
+ carry?: string;
9043
9142
  }
9044
9143
  interface LayoutSection {
9045
9144
  id: string;
@@ -9058,6 +9157,9 @@ interface LayoutSection {
9058
9157
  /** Silent section fallback (Doron, 2026-11-09): this place is the plan's ready-made section `PagePlan.sections[at]`,
9059
9158
  * stamped from its pattern in the look; it has no layers of its own. Set only by `fallBackBySection`, never by a model. */
9060
9159
  readyMade?: LayoutReadyMade;
9160
+ /** A redesign (RD-D20): this place shows a carried bound part, block or kept section (`bind:<n>`, `block:<n>`,
9161
+ * `keep:<n>`) — its data as it was, the new look on it; it has no layers of its own. */
9162
+ carry?: string;
9061
9163
  }
9062
9164
  /** The plan section a place of a composed page was given to: its index in `PagePlan.sections` and its pattern. */
9063
9165
  interface LayoutReadyMade {
@@ -9115,7 +9217,10 @@ declare enum LayoutIssueCode {
9115
9217
  /** It repeats a page already made (the fingerprint). */
9116
9218
  Sameness = "sameness",
9117
9219
  /** The rendered page (the render check): overlap, overflow, a first screen without its lead. */
9118
- Render = "render"
9220
+ Render = "render",
9221
+ /** A redesign's carry (RD1): a handle that names nothing, sits on the wrong kind of layer, is placed twice, comes with
9222
+ * copy of its own — or a form, or a data source a bound part reads, that the new page loses (`checkCarry`). */
9223
+ Carry = "carry"
9119
9224
  }
9120
9225
  /** What the composer may settle by itself, with no word or place changed (`mendLayout`). */
9121
9226
  declare enum LayoutMendKind {
@@ -9149,9 +9254,16 @@ declare enum LayoutMendKind {
9149
9254
  Screens = "screens",
9150
9255
  /** A daring or Expressive page whose opening has no display: the opening's lead line is set as one (a word). */
9151
9256
  Display = "display",
9257
+ /** vectoriox/iox-ui#99: the page where the site lists a list (a shop page's products) shows it in no list section,
9258
+ * and a gallery there shows fixed pictures or boxes: that gallery becomes the list section — its source the list,
9259
+ * its items cards of the list's parts, each linking to the item's page. No such gallery: left to the model. */
9260
+ ShowList = "show-list",
9152
9261
  /** A list section's mix that breaks a list rule the composer can settle (list-ingredients §6, `checkList`): the layer
9153
9262
  * takes the repaired mix — every repair of one list carries the same one. */
9154
- List = "list"
9263
+ List = "list",
9264
+ /** A carried part whose action points at a node the new page no longer has (RD1 — a scroll link to a section that
9265
+ * left): the action is dropped from the carry and the drop is said (`mendCarry`), never refused. */
9266
+ Link = "link"
9155
9267
  }
9156
9268
  /** Which rule chose a mended gallery's list. */
9157
9269
  declare enum LayoutSourceChoice {
@@ -9221,6 +9333,16 @@ type LayoutMend = {
9221
9333
  kind: LayoutMendKind.List;
9222
9334
  layer: string;
9223
9335
  mix: LayoutListMix;
9336
+ } | {
9337
+ kind: LayoutMendKind.Link;
9338
+ handle: string;
9339
+ from: string;
9340
+ to: string;
9341
+ } | {
9342
+ kind: LayoutMendKind.ShowList;
9343
+ layer: string;
9344
+ source: string;
9345
+ mix: LayoutListMix;
9224
9346
  };
9225
9347
  interface LayoutIssue {
9226
9348
  code: `${LayoutIssueCode}`;
@@ -9660,8 +9782,12 @@ declare enum EntrancePart {
9660
9782
  declare const ENTRANCE_ORIGIN_LOOK = "look";
9661
9783
  /** The trigger every entrance plays on. */
9662
9784
  declare const ENTRANCE_TRIGGER = "viewportEnter";
9663
- /** The easing every entrance plays with (only `opacity` and `transform` move). */
9664
- declare const ENTRANCE_EASING = "ease-out";
9785
+ /**
9786
+ * The easing every entrance plays with: the look's own ARRIVAL token (AW3, MB-D5 — Design ▸ Motion ▸ Feel), resolved on
9787
+ * the element by both runtimes, so a re-theme changes every stamped entrance with no restamp. Before AW3 every look
9788
+ * entered on the `ease-out` keyword.
9789
+ */
9790
+ declare const ENTRANCE_EASING = "ease-enter";
9665
9791
  /** One entrance as the contract states it. */
9666
9792
  interface EntranceSpec {
9667
9793
  readonly type: string;
@@ -9672,6 +9798,10 @@ interface EntranceSpec {
9672
9798
  readonly cap?: number;
9673
9799
  /** The type a right-to-left page plays instead (a side-by-side row slides in from ITS side). */
9674
9800
  readonly mirror?: string;
9801
+ /** A text reveal's pieces (`revealText`): lines or words. */
9802
+ readonly by?: 'line' | 'word';
9803
+ /** A clip reveal's opening: % showing as it starts (a quiet clip starts at 85 — MB-D7). */
9804
+ readonly start?: number;
9675
9805
  }
9676
9806
  /** What one section family moves at one level. `content` set = the whole content together, and no parts. */
9677
9807
  interface SectionEntrances {
@@ -9690,6 +9820,8 @@ interface EntranceAction {
9690
9820
  distance?: number;
9691
9821
  stagger?: number;
9692
9822
  cap?: number;
9823
+ by?: 'line' | 'word';
9824
+ start?: number;
9693
9825
  };
9694
9826
  }
9695
9827
  interface EntranceInteraction {
@@ -9698,8 +9830,24 @@ interface EntranceInteraction {
9698
9830
  actions: [EntranceAction];
9699
9831
  origin: typeof ENTRANCE_ORIGIN_LOOK;
9700
9832
  }
9701
- /** What a section of `family` moves at `level` — nothing for an unknown level or family. */
9702
- declare function sectionEntrances(level: AnimateId | string | null | undefined, family: string): SectionEntrances;
9833
+ /**
9834
+ * The look's heading MOVE (AW3, award plan §5.2 — Design ▸ Motion ▸ Headings arrive) over a level's heading entrance:
9835
+ * the level keeps its duration (the amount), the move decides the kind. Pure.
9836
+ */
9837
+ declare function moveEntrance(move: MoveId | string, base: EntranceSpec): EntranceSpec;
9838
+ /**
9839
+ * A travelling move's QUIET form, for a level that moves the content together (MB-D7 — Subtle never travels far):
9840
+ * rise 8 px, the lines of a mask rise together, a clip opens from 85 % showing. Fade and blur in play as they are;
9841
+ * words lit fades (one piece at a time is not quiet).
9842
+ */
9843
+ declare function quietMoveEntrance(move: MoveId | string, base: EntranceSpec): EntranceSpec;
9844
+ /**
9845
+ * What a section of `family` moves at `level` — nothing for an unknown level or family. With the look's `move`
9846
+ * (AW3), Standard and up give the HEADING that move (items and media keep the level's, on the look's arrival curve);
9847
+ * a quiet level's content plays the move's quiet form (MB-D7); Still moves nothing whatever the move. No move = the
9848
+ * level's own heading (a design stored before AW3 — MB-D8).
9849
+ */
9850
+ declare function sectionEntrances(level: AnimateId | string | null | undefined, family: string, move?: MoveId | string | null): SectionEntrances;
9703
9851
  /** Which side of its row a picture sits on (`rowMedia`): an end-side picture enters from the end. */
9704
9852
  declare enum EntranceSide {
9705
9853
  Start = "start",
@@ -9745,6 +9893,8 @@ interface PlanEntrancesInput {
9745
9893
  /** The section's own children: what a level that moves the CONTENT fades when the pattern marks no content node. */
9746
9894
  contentIds: ReadonlyArray<string>;
9747
9895
  rtl?: boolean;
9896
+ /** The look's heading move (`design.headings`, AW3); absent = the level's own heading entrance. */
9897
+ move?: MoveId | string | null;
9748
9898
  }
9749
9899
  /**
9750
9900
  * The entrances a composed section gets (AI plan §3p, M1-6b): a level that moves the CONTENT fades the pattern's
@@ -10186,6 +10336,12 @@ type SectionStampOrigin = {
10186
10336
  };
10187
10337
  /** The key a section's stamp carries (beside `buildKeys` in `site-build-run.ts`): the root's own id. */
10188
10338
  declare const sectionBuildKey: (rootId: string) => string;
10339
+ /**
10340
+ * A value's canonical form: keys sorted, an EMPTY value is no value (`undefined`, `null`, `''`, `[]`, `{}` drop), the
10341
+ * stamp field gone at every depth — so a saved node and a composed one compare equal however their empties were written
10342
+ * (iox-cms's `canonical` rule, the server's fingerprints).
10343
+ */
10344
+ declare function canonicalValue(value: unknown): unknown;
10189
10345
  /** A node's canonical JSON, its stamp aside. */
10190
10346
  declare function canonicalNodeJson(node: SerializedNode): string;
10191
10347
  /**
@@ -10228,6 +10384,255 @@ interface SectionOriginContext {
10228
10384
  */
10229
10385
  declare function sectionOrigin(root: SerializedNode, ctx?: SectionOriginContext): SectionOrigin;
10230
10386
 
10387
+ /**
10388
+ * THE CARRY (site-redesign plan §3b, RD1): what on a page is the owner's — the ONE owner-content rule. A redesign harvests
10389
+ * it, the new layout places it by handle, `checkCarry` makes sure nothing is dropped silently (R-H3); Ask's section swap
10390
+ * (assist-core, AI2d) reads the same classifier and carries only the kinds it carried before (RD-D19).
10391
+ *
10392
+ * Words eyebrow · heading (with its level) · text · button (with its link and interactions) · link · figure · badge
10393
+ * Photos image · video (the same src, never re-uploaded)
10394
+ * Forms the Form subtree verbatim — `form:<formId>` (field labels stay inside their form)
10395
+ * Bound a repeater, a list, a detail binding — `bind:<n>`, whole, with the data source it reads (bound words belong to
10396
+ * their block)
10397
+ * Blocks an interactive composite carried WHOLE (RD-D18: Accordion / Disclosure, Tabs, Segmented, Marquee, Slider, a
10398
+ * Dialog such as a Lightbox, a Popover) and the legacy leaf types whose words live in props (Gallery, the old
10399
+ * Button and Card) — `block:<n>`
10400
+ * Kept a section the owner built by hand on a BUILT page (RD-D17), ticked Keep (RD-D16), or any section of a legal
10401
+ * page (its text is the owner's — RD-D17) — `keep:<n>`, verbatim
10402
+ *
10403
+ * A page the owner made by hand is REDESIGNED (RD-D16): every section is harvested, none kept whole unless ticked.
10404
+ * Header and footer are globals and never harvested (RD-D8). Every handle carries its node VERBATIM — the composer stamps
10405
+ * it, so a carried button keeps what it does; node-id references leaving a carried node are listed for `checkCarry`.
10406
+ */
10407
+ /** A carried word or photo, by kind. Ask's swap carries `SWAP_CARRY_KINDS` only. */
10408
+ declare enum CarryKind {
10409
+ Eyebrow = "eyebrow",
10410
+ Heading = "heading",
10411
+ Text = "text",
10412
+ Button = "button",
10413
+ Link = "link",
10414
+ /** A number the studio stands behind or a price ("40+", "₪ 1,200") — the `price` element style (RD-D19). */
10415
+ Figure = "figure",
10416
+ /** A badge's words (RD-D19). */
10417
+ Badge = "badge",
10418
+ Image = "image",
10419
+ Video = "video"
10420
+ }
10421
+ declare const CARRY_PHOTO_KINDS: ReadonlySet<CarryKind>;
10422
+ /** What Ask's section swap carries over (AI2d) — unchanged by RD-D19: figures, badges, links and videos stay with their recipe. */
10423
+ declare const SWAP_CARRY_KINDS: ReadonlyArray<CarryKind>;
10424
+ /** A button Ask's swap moves the owner's words and link into — never a tab, a price switch or a cart button. */
10425
+ declare const CARRIED_BUTTON_STYLES: ReadonlySet<string>;
10426
+ /** A button's link: the props that travel with its words. */
10427
+ declare const BUTTON_LINK_PROPS: ReadonlyArray<string>;
10428
+ /** Why a node is carried whole (RD-D18). */
10429
+ declare enum CarryBlockKind {
10430
+ /** Accordion / Disclosure / Tabs / Segmented (composite-core's runtimes). */
10431
+ Composite = "composite",
10432
+ Marquee = "marquee",
10433
+ Slider = "slider",
10434
+ /** A Dialog (a Lightbox is one) or a Popover — its content opens over the page. */
10435
+ Overlay = "overlay",
10436
+ Gallery = "gallery",
10437
+ /** The old Button / Card types: their words live in props, not in children. */
10438
+ Legacy = "legacy"
10439
+ }
10440
+ /** The kind a node is carried as, word or photo — or null (a box, an icon, a part of a block). */
10441
+ declare function carryKindOf(node: SerializedNode): CarryKind | null;
10442
+ /** Why a node is carried whole, or null. */
10443
+ declare function carryBlockOf(node: SerializedNode): CarryBlockKind | null;
10444
+ /**
10445
+ * A section's parts Ask's swap carries over, in reading order, by kind (assist-core `applySectionEdits`). The walk is
10446
+ * Ask's since AI2d: a button is never entered, everything else is.
10447
+ */
10448
+ declare function swapParts(root: SerializedNode): Record<string, SerializedNode[]>;
10449
+ interface CarryItem {
10450
+ /** The handle a layout places (`w3`, `p1`, `form:contact-x`, `bind:2`, `block:1`, `keep:1`). */
10451
+ handle: string;
10452
+ /** The page section (root index) it came from. */
10453
+ section: number;
10454
+ nodeId: string;
10455
+ /** The node exactly as saved — the composer stamps it, so a carried button keeps its link and interactions. */
10456
+ node: SerializedNode;
10457
+ }
10458
+ interface CarryWord extends CarryItem {
10459
+ kind: CarryKind;
10460
+ /** The words as plain text — what the model reads (`w3 · heading 2 · "Since 2009…"`); never typed back. */
10461
+ text: string;
10462
+ /** A heading's level (1–6). */
10463
+ level?: number;
10464
+ }
10465
+ interface CarryPhoto extends CarryItem {
10466
+ kind: CarryKind.Image | CarryKind.Video;
10467
+ src: string;
10468
+ alt: string;
10469
+ }
10470
+ interface CarryForm extends CarryItem {
10471
+ formId: string;
10472
+ }
10473
+ interface CarryBound extends CarryItem {
10474
+ /** The data source the block reads (a repeater's list, a detail page's item). */
10475
+ source: string;
10476
+ /** The path inside it ('' = the source itself). */
10477
+ path: string;
10478
+ /** The alias a repeated row's children bind (the path's last segment, else the source); null outside a repeater. */
10479
+ itemAlias: string | null;
10480
+ /** Every data source the block's bindings read, its own rows' alias aside — what `checkCarry` finds on the studio. */
10481
+ reads: string[];
10482
+ }
10483
+ interface CarryBlock extends CarryItem {
10484
+ kind: CarryBlockKind;
10485
+ }
10486
+ interface CarryKept extends CarryItem {
10487
+ /** Why it is kept as it is: the owner built it on a built page (RD-D17), or ticked Keep (RD-D16). */
10488
+ because: CarryKeptReason;
10489
+ }
10490
+ declare enum CarryKeptReason {
10491
+ OwnerSection = "owner-section",
10492
+ Ticked = "ticked",
10493
+ /** A legal page (`pageSettings.legal`): its text is the owner's — never stamped, never recomposed (RD-D17). */
10494
+ Legal = "legal"
10495
+ }
10496
+ /** A node id a carried node points at (an interaction's target, a targeted state's driver) — remapped or reported. */
10497
+ interface CarryReference {
10498
+ /** The carried handle the reference travels in. */
10499
+ handle: string;
10500
+ /** The node holding it. */
10501
+ from: string;
10502
+ /** The node it points at. */
10503
+ to: string;
10504
+ via: CarryReferenceVia;
10505
+ /** True when the target travels in the same handle (a self-contained block). */
10506
+ inside: boolean;
10507
+ }
10508
+ declare enum CarryReferenceVia {
10509
+ Interaction = "interaction",
10510
+ StateTrigger = "stateTrigger"
10511
+ }
10512
+ interface PageCarry {
10513
+ words: CarryWord[];
10514
+ photos: CarryPhoto[];
10515
+ forms: CarryForm[];
10516
+ bound: CarryBound[];
10517
+ blocks: CarryBlock[];
10518
+ kept: CarryKept[];
10519
+ references: CarryReference[];
10520
+ }
10521
+ interface HarvestContext extends SectionOriginContext {
10522
+ /** The page was built (composed by a site build or a layout). Default: any root carries a section stamp. A section
10523
+ * the owner made by hand is kept whole only on a built page (RD-D17); a hand-made page is redesigned (RD-D16). */
10524
+ built?: boolean;
10525
+ /** Section (root) indexes the owner ticked Keep. */
10526
+ keep?: ReadonlyArray<number>;
10527
+ /** The page is a legal page (`pageSettings.legal`, AW1): every section is kept verbatim (RD-D17). */
10528
+ legal?: boolean;
10529
+ }
10530
+ /** A node's words as plain text (rich text loses its tags; the node keeps them). */
10531
+ declare function plainCarryText(value: unknown): string;
10532
+ /**
10533
+ * THE harvest (RD1): a page's carry, in reading order. Pure; never mutates the layout (every node is handed back as the
10534
+ * same object — the caller clones before it edits).
10535
+ */
10536
+ declare function harvestPage(layout: ReadonlyArray<SerializedNode>, ctx?: HarvestContext): PageCarry;
10537
+ /** Every handle of a carry, in the order a layout may place them. */
10538
+ declare function carryHandles(carry: PageCarry): string[];
10539
+ /** How far a carried word is quoted to the model — enough to place it, never the whole of a long text. */
10540
+ declare const CARRY_PROMPT_QUOTE = 120;
10541
+ /**
10542
+ * The page's carry as the layout request shows it: one line per handle — what it is and its words — never a node, an id
10543
+ * or a binding. The model places handles; it writes none of these words (RD-D5).
10544
+ */
10545
+ declare function describeCarryForPrompt(carry: PageCarry): string;
10546
+
10547
+ /**
10548
+ * THE carry judge (site-redesign plan §3b, RD1, R-H3): after `checkLayout`, a redesigned page is held to what the old one
10549
+ * carried — never a silent drop.
10550
+ *
10551
+ * - a layer's handle names a part of the carry, sits on a layer that can show it, is placed once, and brings no copy of
10552
+ * its own (the words are the owner's; the model writes none — RD-D5);
10553
+ * - every FORM is placed (F8: the same `formId`, the same inbox) — refused, never listed;
10554
+ * - every data source a bound part reads is one the studio has (the data relation is the alias — RD-D4);
10555
+ * - a bound part, a block or a kept section is placed by a SECTION (`LayoutSection.carry`, RD-D20), or — as it was
10556
+ * arranged — in a gallery, list or marquee layer; a section that carries one has no layers of its own;
10557
+ * - every other part not placed is LISTED (`carryNotPlaced`) for Compare's "Not placed", never refused;
10558
+ * - a placed part whose action points at a node the new page will not have (a scroll link to a section that left) is
10559
+ * MENDED — the action is dropped and said (`mendCarry`), never refused.
10560
+ */
10561
+ /** The layer kinds that can show a carried word or photo — its words keep their kind (a button keeps what it does). */
10562
+ declare const CARRY_LAYER_KINDS: Readonly<Record<CarryKind, ReadonlyArray<LayoutLayerKind>>>;
10563
+ /** The layers that can hold a bound part or a block as it was arranged (Re-fit keeps a gallery where it stood). */
10564
+ declare const CARRY_WHOLE_LAYER_KINDS: ReadonlyArray<LayoutLayerKind>;
10565
+ interface CarryCheckContext {
10566
+ /** The data source aliases the studio has (the page's and the org's). Unset: not judged. */
10567
+ sources?: ReadonlyArray<string>;
10568
+ /** Node ids the new page has outside the carry — the site's global elements, which a page redesign never redraws.
10569
+ * A composed node is never one: its id is new, and a section that happens to share an old id is another section. */
10570
+ staying?: ReadonlyArray<string>;
10571
+ }
10572
+ /** What a layout must answer for the carry it was given. Empty when it holds. */
10573
+ declare function checkCarry(page: LayoutPage, carry: PageCarry, ctx?: CarryCheckContext): LayoutIssue[];
10574
+ /**
10575
+ * THE link mend (RD1): every `Link` issue's action leaves the carry — from the node holding it, forward and reverse; an
10576
+ * interaction left with no action leaves too. Pure: a new carry, the parts it touched cloned. `mended` is what the owner
10577
+ * is told (Compare lists it beside "Not placed").
10578
+ */
10579
+ declare function mendCarry(carry: PageCarry, issues: ReadonlyArray<LayoutIssue>): {
10580
+ carry: PageCarry;
10581
+ mended: LayoutIssue[];
10582
+ };
10583
+ /** What a layout leaves out — Compare's "Not placed" (R-H3): words, photos, bound parts, blocks, kept sections, each in
10584
+ * reading order (a form is never left out: it is refused). */
10585
+ declare function carryNotPlaced(page: LayoutPage, carry: PageCarry): string[];
10586
+ /**
10587
+ * The layout as the check reads it (RD2): every layer carrying a word shows the owner's words as plain text, so how they
10588
+ * FIT (a size's characters, a screen word's width, pop and kinetic counts) is judged on the words the page will have —
10589
+ * the fact rules never reach them (`checkLayout` skips a carried layer's words). Pure; the layout to compose keeps its
10590
+ * handles and no text.
10591
+ */
10592
+ declare function withCarriedText(page: LayoutPage, carry: PageCarry): LayoutPage;
10593
+
10594
+ /**
10595
+ * New look, the owner's content (site-redesign RD1, Doron 2026-11-21: "New look, owner's content"; RD-D20: "the idea is
10596
+ * style change structure being updated but the data and data relations remains"). ONE rule for what passes from the
10597
+ * page as it was into a node the composer has just made — used by a layer that carries a handle (`composeLayout`) and
10598
+ * by Re-fit (`refitPage`), so the two never disagree about what is the owner's.
10599
+ *
10600
+ * the owner's every prop (words, link, src, alt, a form's id and fields, a repeater's source, a slider's slides…), the
10601
+ * bindings (the data relation), and what the node DOES (its interactions on click, hover, …)
10602
+ * the layout's its element style, style props, states and responsive layers, the heading level its role gives it,
10603
+ * and how it moves (its entrance and scroll motion — the new look's pace)
10604
+ */
10605
+ /** Props the layout decides, never taken from the page: a heading's level follows the layout's role (Doron, 2026-11-21). */
10606
+ declare const LAYOUT_OWNED_PROPS: ReadonlySet<string>;
10607
+ /** Triggers that are motion — the composer's, in the new look's pace. Every other trigger is what the element does. */
10608
+ declare const MOTION_TRIGGERS: ReadonlySet<string>;
10609
+ /** The owner's content of `owner` into `fresh` (mutates `fresh`; `owner` is never touched — its values are cloned). */
10610
+ declare function ownerContentInto(fresh: SerializedNode, owner: SerializedNode): void;
10611
+
10612
+ interface RefitResult {
10613
+ layout: SerializedNode[];
10614
+ /** Ids the owner had deleted that the new look would have brought back — left out. */
10615
+ deleted: string[];
10616
+ /** Top-most ids the owner had added, carried into the re-fitted page. */
10617
+ added: string[];
10618
+ }
10619
+ declare function refitPage(made: ReadonlyArray<SerializedNode>, current: ReadonlyArray<SerializedNode>, fresh: ReadonlyArray<SerializedNode>): RefitResult;
10620
+ /**
10621
+ * Nodes of the current page the composer made for ANOTHER look (the page was re-fitted and saved since the run, so the
10622
+ * run's plan composes a page with other parts — a band, a ground): made, not the owner's, so never carried as added.
10623
+ * Each one alone (its children are judged on their own).
10624
+ */
10625
+ declare function composerLeftovers(pageKey: string, made: ReadonlyArray<SerializedNode>, current: ReadonlyArray<SerializedNode>): SerializedNode[];
10626
+ /**
10627
+ * A BUILT page re-fitted (Design ▸ Look's Re-fit, and a redesign's page that is not asked of a model — site-redesign RD2):
10628
+ * `made` = the page as its run's plan composes it in the look it was built for, `fresh` = the same plan in the new look,
10629
+ * `current` = the page as it is. ONE rule for the builder and the server.
10630
+ */
10631
+ declare function refitBuiltPage(pageKey: string, made: ReadonlyArray<SerializedNode>, current: ReadonlyArray<SerializedNode>, fresh: ReadonlyArray<SerializedNode>): RefitResult;
10632
+ /** Node ids that occur more than once in a layout (a carried subtree keeps its own ids — a composed one must not repeat
10633
+ * them). Empty when every id is unique. */
10634
+ declare function duplicateNodeIds(layout: ReadonlyArray<SerializedNode>): string[];
10635
+
10231
10636
  /**
10232
10637
  * The ONE way a framework-free gate refuses a document "with a path, never repairs" (W1's site-plan gate, the
10233
10638
  * harness's analysis gate): a documented shape table (key → type text; `key?` optional, `[name]` the object's
@@ -10779,8 +11184,32 @@ declare class HeaderMixError extends Error {
10779
11184
  declare const DEFAULT_HEADER_PATTERN = "nav.inline-cta";
10780
11185
  /** The words an ingredient may take. */
10781
11186
  declare function headerWords(ingredient: `${HeaderIngredient}`): ReadonlyArray<string>;
10782
- /** What a word means, as the brief and the builder say it. */
10783
- declare function headerMeaning(ingredient: `${HeaderIngredient}`, word: string): string;
11187
+ /** What a word means, as the brief and the builder say it — in Hebrew when the builder speaks it (HI1b, board 4d). */
11188
+ declare function headerMeaning(ingredient: `${HeaderIngredient}`, word: string, locale?: string | null): string;
11189
+ /** Whether the product draws a word today (a waiting word is never offered — HB-D9). */
11190
+ declare function headerWordDrawn(ingredient: `${HeaderIngredient}`, word: string): boolean;
11191
+ /** One named mix of Components ▸ Header and the Header studio's Start from. */
11192
+ interface HeaderGalleryEntry {
11193
+ id: string;
11194
+ /** Its name and its words, in the builder's language. */
11195
+ name: string;
11196
+ words: string;
11197
+ mix: HeaderMix;
11198
+ }
11199
+ /** The gallery, in the contract's order (Studio — the defaults — first), named in `locale` (English unless Hebrew). */
11200
+ declare function headerGallery(locale?: string | null): HeaderGalleryEntry[];
11201
+ /** The gallery mix a mix is exactly, or null. */
11202
+ declare function headerGalleryIdOf(mix: HeaderMix): string | null;
11203
+ /** A mix as the header root stores it: its `<ingredient>:<word>` words, space-separated, in the table's order. */
11204
+ declare function headerMixValue(mix: HeaderMix): string;
11205
+ /** Writes the mix on a header root (its props). */
11206
+ declare function stampHeaderMix(root: {
11207
+ props: Record<string, unknown>;
11208
+ }, mix: HeaderMix): void;
11209
+ /** The mix a header root stores, or null — none stored, or words the table no longer knows (read as unstamped). */
11210
+ declare function storedHeaderMix(root: {
11211
+ props?: Record<string, unknown>;
11212
+ } | null | undefined): HeaderMix | null;
10784
11213
  /** A whole mix from part of one: what is not named is the default (the Studio header). Refuses a word the table lacks. */
10785
11214
  declare function headerMix(partial?: Partial<HeaderMix>): HeaderMix;
10786
11215
  /** The mix a stored header pattern id stands for (`nav.inline-cta`, `nav.centered-logo`), or null for an unknown id. */
@@ -10881,6 +11310,8 @@ declare function pinnedPagesOf(ctx: HeaderContext): HeaderPage[];
10881
11310
  /** What the composer stamps for a header mix: the pattern, its phone shape and where its menu button sits. Check it first
10882
11311
  * (`checkHeader` on the drawn mix). */
10883
11312
  interface HeaderRecipe {
11313
+ /** The mix it stamps (stored on the header root — HS-5). */
11314
+ mix: HeaderMix;
10884
11315
  pattern: SitePattern;
10885
11316
  /** The pages are behind a menu at every width (HI-D8). */
10886
11317
  everyWidth: boolean;
@@ -10953,110 +11384,292 @@ declare function withDistinctHeader<P extends HeaderPlan & {
10953
11384
  };
10954
11385
 
10955
11386
  /**
10956
- * THE layout composer (premium components M8, gate 1): a page written in the layout language (`layout-language.ts`) in,
10957
- * ordinary builder nodes out — the same `createSerializedNode` every composed page is made of, so the builder reloads it
10958
- * and saves it unchanged and the engine renders it with nothing new to learn. No second renderer: a section is a Section
10959
- * holding a 12-column grid, a held section is a Scene, a layer is a Heading / Text / Image / Slider / Form / Button
10960
- * placed on the grid, its time entrance a `viewportEnter` interaction, its depth a `scrollProgress` parallax, its held
10961
- * motion scene-core tracks. What the product cannot say yet is returned as a GAP (named in m8-proof-sites.md), never
10962
- * worked around with CSS. Pure and deterministic.
11387
+ * THE PHOTO INVENTORY (premium components M8 gate 2, §5; the prototype's `code/inventory.cjs`, made pure): what a layout
11388
+ * may know about a photo without seeing it — its shape, five main colours, and a 12×12 grid of how light and how busy each
11389
+ * part is. iox-cms decodes the pixels (sharp → RGBA) and calls `photoInventory`; `checkLayout` reads the grid through
11390
+ * `calmUnder` to judge words set over the part of the photo a frame SHOWS; the model reads `describeInventoryForPrompt`.
11391
+ * No DOM, no decoder: RGBA bytes in, numbers out, deterministic.
10963
11392
  */
10964
- declare enum LayoutGapCode {
10965
- /** M8-G1: a `screen` word is sized from its face's measured letters (iox-ui#46), not fitted to its cell in the browser. */
10966
- ScreenFit = "screen-fit",
10967
- /** M8-G2: no blur — a `blurIn` entrance rises without it, a `blur` track is dropped. */
10968
- Blur = "blur",
10969
- /** M8-G3: `scaleIn` / `pop` start at the product's 0.8, not 0.95 / 0.9, and `pop` has no overshoot. */
10970
- ScaleIn = "scale-in",
10971
- /** M8-G4: a held layer's keys ease one way (smoothstep), whatever the layout's ease. */
10972
- TrackEase = "track-ease",
10973
- /** M8-G5: a depth glides at the product's one speed (no per-look scale), and a picture's own drift inside its frame
10974
- * is a fixed over-scale. */
10975
- DepthSpeed = "depth-speed",
10976
- /** M8-G6: the navigation is the product's bar — a corner, index or side menu is drawn as the bar. */
10977
- NavKind = "nav-kind",
10978
- /** M8-G7: a link to a section scrolls by an action; it is no address (`#id`) a visitor can share. */
10979
- SectionLink = "section-link",
10980
- /** M8-G9: a slider on a held section's stage is played by the scroll whether or not the layout asked. */
10981
- StageSlider = "stage-slider",
10982
- /** M8-G10: a flood opens from the centre as an inset, not as a circle from the top edge. */
10983
- Flood = "flood",
10984
- /** M8-G11: a held section stacks on a phone and its layers stand at rest (they cannot say "no motion here"). */
10985
- PhoneRest = "phone-rest",
10986
- /** Motion or a sideways track on a section that is not held: the product moves layers by tracks only in a Scene. */
10987
- UnheldMotion = "unheld-motion",
10988
- /** A form layer wears the product's preset: its fields are the preset's, the layout's options fill its choices. */
10989
- FormPreset = "form-preset",
10990
- /** A gallery naming a list with no pictures and no slides of its own shows photo boxes (iox-ui#59). */
10991
- GalleryNoPictures = "gallery-no-pictures",
10992
- /** List ingredients: an arrangement or a feel the product draws in a later phase (strips LI3, deck and standing out
10993
- * LI4) — the list is laid out as the nearest one it has. */
10994
- ListLater = "list-later",
10995
- /** A list item that rises or zooms under the mouse links somewhere (decision D3): this one has nowhere to go. */
10996
- ListUnlinked = "list-unlinked",
10997
- /** A list section naming a list the composer was not told how to read (no `listOf`): today's gallery instead. */
10998
- ListUnbound = "list-unbound"
10999
- }
11000
- interface LayoutGap {
11001
- code: LayoutGapCode;
11002
- /** `sections[i].layers[j]`, `sections[i]` or `nav`. */
11003
- path: string;
11004
- detail: string;
11005
- }
11006
- declare enum LayoutColourMode {
11393
+ declare enum PhotoTone {
11007
11394
  Light = "light",
11008
11395
  Dark = "dark"
11009
11396
  }
11010
- interface ComposeLayoutOptions {
11011
- /** Prefix of every node id (`<id>-s0-l1`). */
11012
- id?: string;
11013
- /** The look's colour mode: which colour names are light (a scrim under light words is dark, and the other way). */
11014
- mode?: `${LayoutColourMode}`;
11015
- /** Where the studio keeps each photo (its media URL). */
11016
- photoSrc: (photoId: string) => string;
11017
- /** A photo's description; '' (decorative) when not given. */
11018
- photoAlt?: (photoId: string) => string;
11019
- /** A photo's shape: the height its frame keeps where it stacks (a phone, a Scene with no scroll). Landscape when not given. */
11020
- photoShape?: (photoId: string) => `${LayoutPhotoShape}` | undefined;
11021
- /** Silent section fallback: the node a place given to the plan's ready-made section stands as (`LayoutSection.readyMade`),
11022
- * stamped by the caller from that plan section's pattern with `id` as its root id. A layout with such a place and no
11023
- * stamper is refused. */
11024
- readyMade?: (section: LayoutSection, id: string) => SerializedNode;
11025
- /** The design the page wears (its fonts size a `screen` word, iox-ui#46). Default: the look's preset in `mode`. */
11026
- design?: DesignChoices;
11027
- /** Gate 2: a list data source's picture and name fields — a gallery naming the source shows its items. Null when the
11028
- * source has no picture field (the gallery keeps its own slides). */
11029
- sourceFields?: (alias: string) => {
11030
- image: string;
11031
- title?: string;
11032
- } | null;
11033
- /** List ingredients (LI1): how a list's items are read — the field that plays each role and the item's own page. Null
11034
- * when the alias is no list. A gallery with a `list` mix needs it; without it the gallery is today's. */
11035
- listOf?: (alias: string) => LayoutListBinding | null;
11036
- }
11037
- /** A list as the list composer reads it (`ComposeLayoutOptions.listOf`). */
11038
- interface LayoutListBinding {
11039
- /** Role → the field that plays it (`title` → `name`). */
11040
- roles: Readonly<Record<string, string>>;
11041
- /** The page that shows one item, when the plan has one: its route, its param and the item's field that fills it. */
11042
- detail?: {
11043
- route: string;
11044
- param: string;
11045
- field: string;
11397
+ interface PhotoInventory {
11398
+ shape: `${LayoutPhotoShape}`;
11399
+ width: number;
11400
+ height: number;
11401
+ grid: {
11402
+ cols: number;
11403
+ rows: number;
11404
+ /** Each cell's mean WCAG relative luminance (linear light), row by row. */
11405
+ luminance: number[];
11406
+ /** Each cell's mean |Laplacian| of its gamma-encoded luma (edges and texture), row by row; 0 is a flat field. */
11407
+ detail: number[];
11046
11408
  };
11409
+ /** Up to five main colours (`#rrggbb`), the most of the picture first; fewer when the picture holds fewer. */
11410
+ colours: string[];
11411
+ tone: `${PhotoTone}`;
11047
11412
  }
11048
- /** List ingredients (LI1): the roles a composed list's nodes play — read by the shared CSS (iox-design.css), never by a
11049
- * renderer: the list's frame (`list.dim` when the others dim under the mouse), a masonry wall's Repeater, and an item
11050
- * that is a picture (a card item is a Card v2, `card`). */
11051
- declare enum LayoutListRole {
11052
- List = "list",
11053
- Dim = "list.dim",
11054
- Masonry = "list.masonry",
11055
- MasonryTwo = "list.masonry-two",
11056
- /** LI3: strips (the Repeater) — stacked on a phone, two across, or a row to swipe; each row a strip item. */
11057
- Strips = "list.strips",
11058
- StripsTwo = "list.strips-two",
11059
- StripsSwipe = "list.strips-swipe",
11413
+ /** A region of a frame, as fractions of its width (x) and height (y). */
11414
+ interface FrameRegion {
11415
+ x0: number;
11416
+ y0: number;
11417
+ x1: number;
11418
+ y1: number;
11419
+ }
11420
+ interface CalmReading {
11421
+ calm: boolean;
11422
+ tone: `${PhotoTone}`;
11423
+ /** The region's mean relative luminance (what a colour over it is measured against). */
11424
+ luminance: number;
11425
+ /** The region's mean detail. */
11426
+ detail: number;
11427
+ }
11428
+ declare const PHOTO_GRID = 12;
11429
+ /** Pixels are averaged down to this width before they are measured: the prototype measured at 96 wide, and the calm
11430
+ * threshold below was read off its 35 proof photos at that scale (a Laplacian grows with resolution). */
11431
+ declare const PHOTO_ANALYSIS_WIDTH = 96;
11432
+ /** Calm: the mean detail under the words is at most this. The prototype's absolute bar (0.045 at 96 px wide: the busiest
11433
+ * cell it called calm across the proof photos); its relative bar (≤ 0.55 × the photo's busiest cell) is not ported —
11434
+ * it called nothing calm on a photo that is flat everywhere. */
11435
+ declare const PHOTO_CALM_DETAIL = 0.045;
11436
+ /** Light: above the luminance where black and white words have the same contrast (√(1.05 × 0.05) − 0.05). */
11437
+ declare const PHOTO_LIGHT_LUMINANCE = 0.179;
11438
+ /** A photo's shape from its size. */
11439
+ declare function photoShapeOf(width: number, height: number): LayoutPhotoShape;
11440
+ declare const toneOf: (luminance: number) => PhotoTone;
11441
+ /** What a photo is, measured from its pixels (RGBA bytes, row by row). */
11442
+ declare function photoInventory(rgba: Uint8ClampedArray | Uint8Array, width: number, height: number): PhotoInventory;
11443
+ /** The part of the photo a frame region shows under `object-fit: cover` (centred): the frame crops the photo's longer side. */
11444
+ declare function coverCrop(inv: Pick<PhotoInventory, 'width' | 'height'>, frame: {
11445
+ w: number;
11446
+ h: number;
11447
+ }, region: FrameRegion): FrameRegion;
11448
+ /**
11449
+ * Whether words over `region` of a frame (fractions of the FRAME, which shows the photo as `object-fit: cover`, centred)
11450
+ * sit on a calm part of the photo, and how light it is there. A calm band the crop cuts away is not under the words.
11451
+ */
11452
+ declare function calmUnder(inv: PhotoInventory, frame: {
11453
+ w: number;
11454
+ h: number;
11455
+ }, region: FrameRegion): CalmReading;
11456
+ /** The photo's 3×3 named parts that are calm, each light or dark (`top-start (dark)`). */
11457
+ declare function calmParts(inv: PhotoInventory): string[];
11458
+ /** One line a model reads instead of the photo: its id, what it shows, shape, colours and where words may sit. */
11459
+ declare function describeInventoryForPrompt(id: string, inv: PhotoInventory, label?: string): string;
11460
+
11461
+ /**
11462
+ * What a business type's lists never do (L-D12, the contract's harness `businessTypes[].lists` — harness-core
11463
+ * `BusinessType.lists`, passed in as data: harness-core reads generation-core, never the other way round).
11464
+ */
11465
+ interface LayoutListNever {
11466
+ readonly arranges: ReadonlyArray<string>;
11467
+ readonly moves: ReadonlyArray<string>;
11468
+ /** Why, in the owner's words — said with the repair. */
11469
+ readonly say: ReadonlyArray<string>;
11470
+ }
11471
+ /** True when the type's art direction forbids nothing. */
11472
+ declare const listNeverIsEmpty: (never?: LayoutListNever | null) => boolean;
11473
+ /**
11474
+ * Judge one list section's mix against the list it shows (`shape`, from `layoutListShapes`; null when the source is no
11475
+ * list — the source check says that). `layer` is the layer's path (`sections[1].layers[0]`).
11476
+ */
11477
+ declare function checkList(mix: LayoutListMix, shape: LayoutListShape | null, layer: string, never?: LayoutListNever | null): LayoutIssue[];
11478
+ /** Two list sections of one page never share an arrangement (list-ingredients §7): the later ones are the model's. */
11479
+ declare function pageListIssues(page: LayoutPage): LayoutIssue[];
11480
+
11481
+ interface CheckLayoutContext {
11482
+ presetId: string;
11483
+ mode: 'light' | 'dark';
11484
+ locale: 'en' | 'he';
11485
+ /** Every photo the page may use: its inventory, or null when it was not measured (words never sit on it). */
11486
+ photos: Record<string, PhotoInventory | null>;
11487
+ /** The list data sources a gallery may show (`gallery.source`). */
11488
+ sources?: string[];
11489
+ /** Every list the plan has (`layoutGalleryLists`): a gallery naming one without pictures is mended to one with them. */
11490
+ lists?: ReadonlyArray<LayoutGalleryList>;
11491
+ /** What each list holds (`layoutListShapes`): a list section's mix is judged against it (`checkList`, LI2). */
11492
+ listShapes?: ReadonlyArray<LayoutListShape>;
11493
+ /** What this business type's lists never do (L-D12 — harness-core `BusinessType.lists`): repaired by `checkList`. */
11494
+ listNever?: LayoutListNever;
11495
+ /** The lists this page is where the site shows (`layoutListsShownOn` — a shop page's products): one of its list sections
11496
+ * shows one of them, its items linking to their own page (vectoriox/iox-ui#99). */
11497
+ shows?: ReadonlyArray<string>;
11498
+ /** The list each of the page's plan sections binds, by its index (`page.sections[i].binding`): a ready-made place
11499
+ * stamps its section, so it shows that list. */
11500
+ sectionBindings?: ReadonlyArray<string | undefined>;
11501
+ /** The site's page routes a button may lead to (`/contact`). */
11502
+ routes?: string[];
11503
+ /** Every word the owner gave and what was read from it: a number not in here was invented. */
11504
+ facts?: string;
11505
+ /** The fact keys a `{fact:<key>}` token may name (default: the contract's `site.facts`). */
11506
+ factKeys?: string[];
11507
+ /** The business takes leads (the lead form is offered). */
11508
+ takesLeads?: boolean;
11509
+ /** This is the home page: it must offer a way to reach the business. */
11510
+ first?: boolean;
11511
+ /** The design the page will wear: its fonts decide whether a `screen` word fits (iox-ui#46). Default: the preset's. */
11512
+ design?: DesignChoices;
11513
+ }
11514
+ type LayoutColours = Readonly<Record<LayoutColour, string>>;
11515
+ /** A preset's five colours in a mode as `#rrggbb` (the prototype's `presetColours`), or null when it does not wear that mode. */
11516
+ declare function layoutPresetColours(presetId: string, mode: 'light' | 'dark'): LayoutColours | null;
11517
+ /** A section of one photo on one side and words on the other: 'start' | 'end' | null (the prototype's `splitSide`). */
11518
+ declare function splitSide(s: LayoutSection): 'start' | 'end' | null;
11519
+ /** Every photo id a page names: photo layers, gallery slides, photo grounds. */
11520
+ declare function layoutPhotoIds(page: LayoutPage): string[];
11521
+ /**
11522
+ * Every rule a composed page keeps, each refused with a path. Empty means it passes.
11523
+ *
11524
+ * A page silent section fallback gave sections away (`page.givenAway`, iox-ui#67 — Doron, 2026-11-09): its MINIMUMS — the
11525
+ * one signature and the inhale before it, the glide floor, galleries, the daring minimums, the number of sections — are
11526
+ * judged on the model's own remaining sections, so what a removed section carried no longer fails the page. Its
11527
+ * MAXIMUMS are judged on the whole page, ready-made places included (a ready-made section that enters counts toward the
11528
+ * entrances), and reading, contrast and sameness are untouched.
11529
+ */
11530
+ declare function checkLayout(page: LayoutPage, ctx: CheckLayoutContext): LayoutIssue[];
11531
+ /** A composed page with the list it is where the site shows (`ctx.shows`) in a list section — as it is, or with the
11532
+ * gallery the check turns into it (`ShowList`). Null: it cannot show it without the model. What the composer stamps and
11533
+ * the plan's validator judges (vectoriox/iox-ui#99). Pure. */
11534
+ declare function withShownList(page: LayoutPage, ctx: Pick<CheckLayoutContext, 'shows' | 'sectionBindings' | 'listShapes'>): LayoutPage | null;
11535
+ /**
11536
+ * M8-G2-D12 — what a look switch costs a composed page: the issues the check finds in the new look (`ctx`) at a place
11537
+ * where the look it was composed for (`from`) found none of that kind. Nothing to say → []; the page's own known misses
11538
+ * (in both looks) are never blamed on the switch.
11539
+ */
11540
+ declare function layoutLookChanges(page: LayoutPage, ctx: CheckLayoutContext, from: Pick<CheckLayoutContext, 'presetId' | 'mode'>): LayoutIssue[];
11541
+ /** The longest a time entrance plays. */
11542
+ declare const LAYOUT_ENTRANCE_MAX_MS = 1200;
11543
+ /** The scale an action starts from, where it is not 1 (iox-ui `buildInteractionKeyframes`; held equal by the spec). */
11544
+ declare const ACTION_START_SCALE: Readonly<Record<string, number>>;
11545
+ /** Emil's rules a composed page's nodes can be held to without running them: eases, `transition: all`, scale, entrance length. */
11546
+ declare function auditLayoutMotion(nodes: ReadonlyArray<SerializedNode>): LayoutIssue[];
11547
+ /**
11548
+ * What the composer settles by itself before the model is asked to repair (M8 gate 2, found by the live run: the real
11549
+ * model's repair missed 4.43:1 against 4.5:1 and a third accent where two are allowed): words over a busy or too-light part
11550
+ * of a photo get the scrim the look allows; words too faint on their ground go back to the ink where the ink holds there;
11551
+ * decoration that enters with a move fades instead; the accent leaves the least important words (decoration, then
11552
+ * support, later sections first) until the look's count holds, and where the words cannot give enough back, the least
11553
+ * important accent bands take the ground nearest the accent their words read on (never the first band, the main call to
11554
+ * action's or a form's); and where fewer layers glide than the look asks, the most important layers that may glide take a
11555
+ * depth (back) — exactly as many as are missing, or none (iox-ui#63); a gallery naming a list with no pictures shows a list
11556
+ * that has them — the only one, else the one the section's words name, else the first (iox-ui#64; none, or words that name
11557
+ * the list it named: the model's — #66). No
11558
+ * word, place or photo changes and a button is never touched; what cannot be settled this way is the model's. Pure: a new page and the issues it settled.
11559
+ */
11560
+ declare function mendLayout(page: LayoutPage, issues: ReadonlyArray<LayoutIssue>): {
11561
+ page: LayoutPage;
11562
+ mended: LayoutIssue[];
11563
+ };
11564
+
11565
+ /**
11566
+ * THE layout composer (premium components M8, gate 1): a page written in the layout language (`layout-language.ts`) in,
11567
+ * ordinary builder nodes out — the same `createSerializedNode` every composed page is made of, so the builder reloads it
11568
+ * and saves it unchanged and the engine renders it with nothing new to learn. No second renderer: a section is a Section
11569
+ * holding a 12-column grid, a held section is a Scene, a layer is a Heading / Text / Image / Slider / Form / Button
11570
+ * placed on the grid, its time entrance a `viewportEnter` interaction, its depth a `scrollProgress` parallax, its held
11571
+ * motion scene-core tracks. What the product cannot say yet is returned as a GAP (named in m8-proof-sites.md), never
11572
+ * worked around with CSS. Pure and deterministic.
11573
+ */
11574
+ declare enum LayoutGapCode {
11575
+ /** M8-G1: a `screen` word is sized from its face's measured letters (iox-ui#46), not fitted to its cell in the browser. */
11576
+ ScreenFit = "screen-fit",
11577
+ /** M8-G2: no blur — a `blurIn` entrance rises without it, a `blur` track is dropped. */
11578
+ Blur = "blur",
11579
+ /** M8-G3: `scaleIn` / `pop` start at the product's 0.8, not 0.95 / 0.9, and `pop` has no overshoot. */
11580
+ ScaleIn = "scale-in",
11581
+ /** M8-G4: a held layer's keys ease one way (smoothstep), whatever the layout's ease. */
11582
+ TrackEase = "track-ease",
11583
+ /** M8-G5: a depth glides at the product's one speed (no per-look scale), and a picture's own drift inside its frame
11584
+ * is a fixed over-scale. */
11585
+ DepthSpeed = "depth-speed",
11586
+ /** M8-G6: the navigation is the product's bar — a corner, index or side menu is drawn as the bar. */
11587
+ NavKind = "nav-kind",
11588
+ /** M8-G7: a link to a section scrolls by an action; it is no address (`#id`) a visitor can share. */
11589
+ SectionLink = "section-link",
11590
+ /** M8-G9: a slider on a held section's stage is played by the scroll whether or not the layout asked. */
11591
+ StageSlider = "stage-slider",
11592
+ /** M8-G10: a flood opens from the centre as an inset, not as a circle from the top edge. */
11593
+ Flood = "flood",
11594
+ /** M8-G11: a held section stacks on a phone and its layers stand at rest (they cannot say "no motion here"). */
11595
+ PhoneRest = "phone-rest",
11596
+ /** Motion or a sideways track on a section that is not held: the product moves layers by tracks only in a Scene. */
11597
+ UnheldMotion = "unheld-motion",
11598
+ /** A form layer wears the product's preset: its fields are the preset's, the layout's options fill its choices. */
11599
+ FormPreset = "form-preset",
11600
+ /** A gallery naming a list with no pictures and no slides of its own shows photo boxes (iox-ui#59). */
11601
+ GalleryNoPictures = "gallery-no-pictures",
11602
+ /** List ingredients: an arrangement or a feel the product draws in a later phase (strips LI3, deck and standing out
11603
+ * LI4) — the list is laid out as the nearest one it has. */
11604
+ ListLater = "list-later",
11605
+ /** A list item that rises or zooms under the mouse links somewhere (decision D3): this one has nowhere to go. */
11606
+ ListUnlinked = "list-unlinked",
11607
+ /** A list section naming a list the composer was not told how to read (no `listOf`): today's gallery instead. */
11608
+ ListUnbound = "list-unbound"
11609
+ }
11610
+ interface LayoutGap {
11611
+ code: LayoutGapCode;
11612
+ /** `sections[i].layers[j]`, `sections[i]` or `nav`. */
11613
+ path: string;
11614
+ detail: string;
11615
+ }
11616
+ declare enum LayoutColourMode {
11617
+ Light = "light",
11618
+ Dark = "dark"
11619
+ }
11620
+ interface ComposeLayoutOptions {
11621
+ /** Prefix of every node id (`<id>-s0-l1`). */
11622
+ id?: string;
11623
+ /** The look's colour mode: which colour names are light (a scrim under light words is dark, and the other way). */
11624
+ mode?: `${LayoutColourMode}`;
11625
+ /** Where the studio keeps each photo (its media URL). */
11626
+ photoSrc: (photoId: string) => string;
11627
+ /** A photo's description; '' (decorative) when not given. */
11628
+ photoAlt?: (photoId: string) => string;
11629
+ /** A photo's shape: the height its frame keeps where it stacks (a phone, a Scene with no scroll). Landscape when not given. */
11630
+ photoShape?: (photoId: string) => `${LayoutPhotoShape}` | undefined;
11631
+ /** Silent section fallback: the node a place given to the plan's ready-made section stands as (`LayoutSection.readyMade`),
11632
+ * stamped by the caller from that plan section's pattern with `id` as its root id. A layout with such a place and no
11633
+ * stamper is refused. */
11634
+ readyMade?: (section: LayoutSection, id: string) => SerializedNode;
11635
+ /** The design the page wears (its fonts size a `screen` word, iox-ui#46). Default: the look's preset in `mode`. */
11636
+ design?: DesignChoices;
11637
+ /** Gate 2: a list data source's picture and name fields — a gallery naming the source shows its items. Null when the
11638
+ * source has no picture field (the gallery keeps its own slides). */
11639
+ sourceFields?: (alias: string) => {
11640
+ image: string;
11641
+ title?: string;
11642
+ } | null;
11643
+ /** List ingredients (LI1): how a list's items are read — the field that plays each role and the item's own page. Null
11644
+ * when the alias is no list. A gallery with a `list` mix needs it; without it the gallery is today's. */
11645
+ listOf?: (alias: string) => LayoutListBinding | null;
11646
+ /** A redesign (site-redesign RD1): the page's carry (`harvestPage`) — a layer or a section naming a handle shows the
11647
+ * owner's part in it. A handle the carry does not have is refused (ComposeError); `checkCarry` judges the rest. */
11648
+ carry?: PageCarry;
11649
+ }
11650
+ /** A list as the list composer reads it (`ComposeLayoutOptions.listOf`). */
11651
+ interface LayoutListBinding {
11652
+ /** Role → the field that plays it (`title` → `name`). */
11653
+ roles: Readonly<Record<string, string>>;
11654
+ /** The page that shows one item, when the plan has one: its route, its param and the item's field that fills it. */
11655
+ detail?: {
11656
+ route: string;
11657
+ param: string;
11658
+ field: string;
11659
+ };
11660
+ }
11661
+ /** List ingredients (LI1): the roles a composed list's nodes play — read by the shared CSS (iox-design.css), never by a
11662
+ * renderer: the list's frame (`list.dim` when the others dim under the mouse), a masonry wall's Repeater, and an item
11663
+ * that is a picture (a card item is a Card v2, `card`). */
11664
+ declare enum LayoutListRole {
11665
+ List = "list",
11666
+ Dim = "list.dim",
11667
+ Masonry = "list.masonry",
11668
+ MasonryTwo = "list.masonry-two",
11669
+ /** LI3: strips (the Repeater) — stacked on a phone, two across, or a row to swipe; each row a strip item. */
11670
+ Strips = "list.strips",
11671
+ StripsTwo = "list.strips-two",
11672
+ StripsSwipe = "list.strips-swipe",
11060
11673
  StripItem = "list.strip-item",
11061
11674
  Item = "list.item"
11062
11675
  }
@@ -11070,6 +11683,9 @@ interface ComposedLayout {
11070
11683
  /** The node id each section's id became (what its links scroll to). */
11071
11684
  sections: Record<string, string>;
11072
11685
  gaps: LayoutGap[];
11686
+ /** RD-D20: the carried sections (`bind:`, `block:`, `keep:`) placed as they were arranged — restyled by the new look, their
11687
+ * data and structure as they were; Compare lists them. */
11688
+ keptArrangement: string[];
11073
11689
  }
11074
11690
  /**
11075
11691
  * Words drawn on a shape or a photo at a laptop's width lose it on a phone: the shape is hidden and every layer stacks,
@@ -11182,6 +11798,9 @@ interface ComposeContext {
11182
11798
  /** AW1: what the studio holds that decides its legal pages and banner (country, trackers, its own legal pages, its
11183
11799
  * routes, a banner it keeps). Absent = only what the plan and the composed pages say (no tracker, no country). */
11184
11800
  legal?: LegalContext;
11801
+ /** A redesign (site-redesign RD1): each composed page's carry by page key (`harvestPage`) — its layout's layers and
11802
+ * sections naming a handle show the owner's part. */
11803
+ carry?: Readonly<Record<string, PageCarry>>;
11185
11804
  }
11186
11805
  /** Where a composed layout's photos are, as the server keeps them and the screens read them (M8 gate 2): id → address. */
11187
11806
  interface LayoutPhotoAddress {
@@ -11309,6 +11928,10 @@ declare function layoutListShapes(plan: SitePlan): LayoutListShape[];
11309
11928
  declare function layoutListBinding(alias: string, plan: SitePlan): LayoutListBinding | null;
11310
11929
  /** One line of the brief: `works (Works): 6 items · name, picture, detail, quote (long)`. */
11311
11930
  declare function describeListShape(shape: LayoutListShape): string;
11931
+ /** What a composed page must list (vectoriox/iox-ui#99): the shop's lists its plan sections bind (a shop page's
11932
+ * products), each section's list by index (a ready-made place shows its own), and every list's shape — the context
11933
+ * `checkLayout` and `withShownList` read. iox-cms spreads it into the layout check. */
11934
+ declare function layoutListsContext(page: Pick<PagePlan, 'sections'>, plan: SitePlan): Pick<CheckLayoutContext, 'shows' | 'sectionBindings' | 'listShapes'>;
11312
11935
  /** The list sources a composed gallery may show (`gallery.source`): the plan's query sources whose items have a picture.
11313
11936
  * A list with none (a FAQ) would repeat no slide and draw an empty band (iox-ui#59), so it is never offered and the check
11314
11937
  * refuses it. */
@@ -11320,6 +11943,13 @@ declare const SHOP_CART_BUTTON_ID = "header-cart";
11320
11943
  declare const SHOP_CART_DRAWER_ID = "cart";
11321
11944
  declare const ACCOUNT_ENTRY_ID = "header-account";
11322
11945
  declare const SIGN_IN_DIALOG_ID = "sign-in";
11946
+ /**
11947
+ * vectoriox/iox-ui#100: the cart drawer or sign-in dialog a studio KEEPS across builds (one per site — iox-cms#88), in
11948
+ * the language of the site being built. Every word still as a build composed it in another language takes this
11949
+ * language's; a word the owner changed stays, and a part they made by hand (not the composer's ids) is left alone.
11950
+ * Null: nothing to change (already in this language, or not a store global). Pure — a copy.
11951
+ */
11952
+ declare function rewordStoreGlobal(kept: SerializedNode, locale: string): SerializedNode | null;
11323
11953
  /**
11324
11954
  * Compose a Site Plan. Throws `SitePlanError` (every issue) when the plan does not validate — the
11325
11955
  * composer never repairs a plan. `context` carries what the composer may not read for itself (the year).
@@ -11358,6 +11988,8 @@ interface NavHeaderInput {
11358
11988
  /** HI1: draw the mix as asked, never repaired — the layout language's header, whose links are its SECTIONS (a corner
11359
11989
  * header with two section links is still the name and a menu, HI0). */
11360
11990
  readonly asAsked?: boolean;
11991
+ /** HI1b: the site sells — the header holds the account entry and the bag, as `composeSite` gives a selling site's. */
11992
+ readonly storeSlots?: boolean;
11361
11993
  }
11362
11994
  interface NavHeaderOptions {
11363
11995
  /** The header's id; its parts' ids derive from it (`<id>-0-1-…`), so a fresh id gives fresh parts. */
@@ -11371,16 +12003,16 @@ interface ComposedNavHeader {
11371
12003
  issues: ComposeIssue[];
11372
12004
  /** HI1: the mix it was composed as, after the site's check (what Bindings ▸ Header shows). */
11373
12005
  mix: HeaderMix;
12006
+ /** HI1b: the phone shape's other globals, in order after the header — the Both shape's drawer, the bottom bar. A
12007
+ * caller placing the header places these too (they were dropped before HI1b: a palette header asked for a bar had
12008
+ * none). Empty for the drawer shape. */
12009
+ companions: SerializedNode[];
11374
12010
  }
11375
12011
  /** The pages a navigation links to: every page but Home (the brand links there) and template pages
11376
12012
  * (a `/work/:slug` route has no single address), in the studio's order. */
11377
12013
  declare function siteNavPages(pages: ReadonlyArray<SitePageRef>): SitePageRef[];
11378
- /**
11379
- * The Studio template's header, composed for a studio that has no Site Plan — the builder palette's
11380
- * "Navigation bar". THE SAME pattern and the same composer as `composeSite`: the brand (the business name),
11381
- * one plain Link per navigation page, the call to action (W1.1's one dangling-link rule when the studio has
11382
- * no /contact page: an email to the business, else removed), and the pattern's phone shape. Pure.
11383
- */
12014
+ /** What a studio's header is judged against (`checkHeader`) — the same context `composeNavHeader` checks with. */
12015
+ declare function navHeaderContext(input: Omit<NavHeaderInput, 'mix' | 'asAsked'>): HeaderContext;
11384
12016
  declare function composeNavHeader(input: NavHeaderInput, options: NavHeaderOptions): ComposedNavHeader;
11385
12017
  /** The pricing section (CC4b, board 10): plans with a Monthly / Yearly switch — the library and the palette, never a
11386
12018
  * Studio page (Q35). */
@@ -11498,6 +12130,15 @@ declare function planHasShopSource(plan: Pick<SitePlan, 'dataSources'>): boolean
11498
12130
  declare function variantNamesOf(options: ReadonlyArray<{
11499
12131
  readonly values: ReadonlyArray<string>;
11500
12132
  }>): string[];
12133
+ /** The shop's lists a plan page shows — the list and the newest that its sections bind, in that order (a shop page's
12134
+ * products): where a composed page must list them, each linking to the product page (vectoriox/iox-ui#99). */
12135
+ declare function shopListsShownOn(page: {
12136
+ sections?: ReadonlyArray<{
12137
+ binding?: string;
12138
+ }>;
12139
+ } | null | undefined, plan: unknown): string[];
12140
+ /** The shop's lists of a plan (the list, the newest) — what a visitor reaches a product from. */
12141
+ declare function shopListAliases(plan: unknown): string[];
11501
12142
 
11502
12143
  /**
11503
12144
  * THE LIBRARY ON SHOW — every composed pattern, stamped by the real composer onto ordinary pages (one page per family,
@@ -11541,14 +12182,26 @@ declare function showcasePlans(input: ShowcaseInput): SitePlan[];
11541
12182
  * the website wizard (W3) polls it. Pure types, enums and helpers; no transport.
11542
12183
  */
11543
12184
  declare enum SiteBuildKind {
11544
- Build = "build"
12185
+ Build = "build",
12186
+ /** A new design for a built site, everything it holds kept (site-redesign RD2) — `redesign-run.ts`. */
12187
+ Redesign = "redesign"
11545
12188
  }
11546
12189
  declare enum SiteBuildStatus {
11547
12190
  Running = "running",
11548
12191
  Done = "done",
11549
12192
  Failed = "failed",
11550
12193
  Undoing = "undoing",
11551
- Undone = "undone"
12194
+ Undone = "undone",
12195
+ /** A redesign (RD2): its new design going onto the pages, header, footer and look — page by page. */
12196
+ Switching = "switching",
12197
+ /** A redesign switched: the site wears it; Back is open for `REDESIGN_BACK_DAYS`. */
12198
+ Switched = "switched",
12199
+ /** A redesign going Back: its snapshot restored, page by page. */
12200
+ Restoring = "restoring",
12201
+ /** A redesign gone Back: the site wears what it wore before the switch. */
12202
+ Restored = "restored",
12203
+ /** A staged (or failed, never switched) redesign let go — by the owner, or by a newer redesign: no page was written. */
12204
+ Discarded = "discarded"
11552
12205
  }
11553
12206
  /** The statuses a runner advances — and the ones that hold the org's single-run slot. */
11554
12207
  declare const ACTIVE_BUILD_STATUSES: ReadonlyArray<SiteBuildStatus>;
@@ -11591,6 +12244,9 @@ declare enum CreatedKind {
11591
12244
  ShopProduct = "shop-product",
11592
12245
  DataSource = "data-source",
11593
12246
  Page = "page",
12247
+ /** RD3-D3 (a) Replace: a page an earlier Undo kept, moved aside (`/<route>-previous`, a draft) so the plan's page takes
12248
+ * its address — Undo puts it back while it is as the move left it and its address is free (`CreatedRecord.from`). */
12249
+ PageMoved = "page-moved",
11594
12250
  Global = "global",
11595
12251
  Look = "look"
11596
12252
  }
@@ -11606,8 +12262,9 @@ interface BuildStepError {
11606
12262
  code: string;
11607
12263
  detail: string;
11608
12264
  }
11609
- interface BuildStepRecord {
11610
- key: BuildStep;
12265
+ /** A run's step as it is recorded — a build's (`BuildStep`) or, with `K`, another run's (a redesign's `RedesignStep`). */
12266
+ interface BuildStepRecord<K extends string = BuildStep> {
12267
+ key: K;
11611
12268
  state: StepState;
11612
12269
  attempts: number;
11613
12270
  startedAt?: Date | string;
@@ -11627,6 +12284,11 @@ interface CreatedRecord {
11627
12284
  url?: string;
11628
12285
  /** `content-type-fields`: the fields the build added. */
11629
12286
  fields?: string[];
12287
+ /** `page-moved`: where the page was and its status before the move — what Undo puts back. */
12288
+ from?: {
12289
+ route: string;
12290
+ status: string;
12291
+ };
11630
12292
  }
11631
12293
  interface UndoKept {
11632
12294
  kind: CreatedKind;
@@ -11665,8 +12327,26 @@ declare enum BuildNoticeCode {
11665
12327
  ShopMoneyInferred = "shop-money-inferred",
11666
12328
  /** Commerce G2: the facts the owner gave (email, phone, address) became the shop's contact details where it had none
11667
12329
  * — said, so the owner adds what only they know (the legal name, the business number) in Shop ▸ Settings. */
11668
- ShopBusinessFromFacts = "shop-business-from-facts"
11669
- }
12330
+ ShopBusinessFromFacts = "shop-business-from-facts",
12331
+ /** RD3-D3 (a) Keep mine: a page an earlier Undo kept stays at an address the plan builds — the plan's page there is
12332
+ * not built. */
12333
+ KeptPageSkipped = "kept-page-skipped",
12334
+ /** RD3-D3 (a) Replace: that page moved aside as a draft (`/<route>-previous`) — Undo puts it back. */
12335
+ KeptPageMoved = "kept-page-moved"
12336
+ }
12337
+ /** RD3-D3 (a): what a build does with a page an earlier Undo kept at an address its plan builds — the header and footer's
12338
+ * pair (`replaceGlobals`), for pages. */
12339
+ declare enum KeptPagesChoice {
12340
+ /** Build every other page; leave these as they are. */
12341
+ Keep = "keep",
12342
+ /** Move each aside as a draft at `/<route>-previous` and build the plan's page at its address. Nothing is deleted. */
12343
+ Replace = "replace"
12344
+ }
12345
+ /** The suffix a replaced page's address takes. */
12346
+ declare const PREVIOUS_ROUTE_SUFFIX = "-previous";
12347
+ /** Where a page moved aside goes: `/<route>-previous`, then `-previous-2`… — never an address in `taken` (shapes
12348
+ * compared case-insensitively, trailing slash ignored). The home page (`/`) goes to `/home-previous`. */
12349
+ declare function previousRoute(route: string, taken: ReadonlyArray<string>): string;
11670
12350
  interface BuildNotice {
11671
12351
  code: string;
11672
12352
  detail: string;
@@ -11682,6 +12362,10 @@ interface SiteBuildRun {
11682
12362
  /** AW-D23: the tier its generation was made at; absent = Basic (`tierOf`). Every later compose of `plan` in the browser
11683
12363
  * (Design ▸ Look's Re-fit) is given it — an award plan composed as Basic is refused (iox-cms-client#66). */
11684
12364
  tier?: `${GenerationTier}`;
12365
+ /** RD3-D4 (a): the AI generation whose build this is — written by that generation's build, never by the HTTP body.
12366
+ * Absent: a build from a template or a plan sent by hand. The undone screen offers exactly this generation's plan
12367
+ * again ("Build it again", iox-cms-client#74), and nothing when it is gone. */
12368
+ generationId?: string;
11685
12369
  status: SiteBuildStatus;
11686
12370
  active?: boolean;
11687
12371
  steps: BuildStepRecord[];
@@ -11718,7 +12402,10 @@ declare enum PreflightRefusalCode {
11718
12402
  /** The studio has pages AND a header/footer: replace or keep them is the caller's choice (D7). */
11719
12403
  GlobalsNeedDecision = "globals-need-decision",
11720
12404
  /** A global the plan adds has the id of one the studio keeps. */
11721
- GlobalTaken = "global-taken"
12405
+ GlobalTaken = "global-taken",
12406
+ /** RD3-D3 (a): a page an earlier Undo kept (published or edited) sits at an address the plan builds — Keep mine or
12407
+ * Replace them is the caller's choice (`KeptPagesChoice`). A page made by hand there stays a plain `route-taken`. */
12408
+ KeptPageNeedsDecision = "kept-page-needs-decision"
11722
12409
  }
11723
12410
  interface PreflightRefusal {
11724
12411
  code: PreflightRefusalCode;
@@ -11727,59 +12414,523 @@ interface PreflightRefusal {
11727
12414
  detail: string;
11728
12415
  /** For `invalid-plan`: the validator's issue code. */
11729
12416
  issue?: SitePlanIssueCode;
12417
+ /** For `kept-page-needs-decision` (RD3-D3): the kept page as the owner knows it — said in their language. */
12418
+ kept?: KeptPageRefusal;
12419
+ }
12420
+ /** RD3-D3: a page an earlier build's Undo kept, standing at an address the plan needs. */
12421
+ interface KeptPageRefusal {
12422
+ pageId: string;
12423
+ name: string;
12424
+ route: string;
12425
+ reason: KeptReason;
12426
+ }
12427
+ /**
12428
+ * The stable key each written document carries beside `siteBuildId`: a step that runs twice looks it up first and
12429
+ * skips what exists (so a restart or a Retry continues without duplicates), and a reader finds what the run made
12430
+ * by it — the wizard opens the HOME page by `page(<its key>)`. One builder per kind.
12431
+ */
12432
+ declare const buildKeys: {
12433
+ readonly contentType: (name: string) => string;
12434
+ readonly contentTypeFields: (name: string) => string;
12435
+ readonly item: (contentType: string, n: number) => string;
12436
+ readonly shopCategory: (n: number) => string;
12437
+ readonly shopProduct: (n: number) => string;
12438
+ readonly sampleImage: (n: number) => string;
12439
+ readonly stockPhoto: (libraryKey: string) => string;
12440
+ readonly dataSource: (alias: string) => string;
12441
+ readonly page: (key: string) => string;
12442
+ readonly global: (nodeId: string) => string;
12443
+ readonly look: () => string;
12444
+ readonly pageMoved: (pageId: string) => string;
12445
+ };
12446
+ /** The id of the page a run made for the plan's home page, or null (not made yet, or no home page). */
12447
+ declare function builtHomePageId(run: Pick<SiteBuildRun, 'plan' | 'created'> | null | undefined): string | null;
12448
+ /** The step a run stopped at, or null. */
12449
+ declare function failedBuildStep(run: Pick<SiteBuildRun, 'steps'> | null | undefined): BuildStepRecord | null;
12450
+ /** A run still holding the org's slot (building or undoing) — a page that left it comes back to its progress. */
12451
+ declare function isActiveBuild(run: Pick<SiteBuildRun, 'status'> | null | undefined): boolean;
12452
+ /** What a build does with each content type its plan names (the preflight's `summary.contentTypes[].action`): content
12453
+ * types are shared by every organization of a studio, so one the studio already has is reused, or extended with the
12454
+ * fields it lacks — never created twice. */
12455
+ declare enum ContentTypeAction {
12456
+ Create = "create",
12457
+ Reuse = "reuse",
12458
+ Extend = "extend"
12459
+ }
12460
+ /** What each step of a build of `plan` will make — the progress rows' words, from the plan (+ the preflight's actions). */
12461
+ interface BuildStepFacts {
12462
+ /** The plan's content types: their labels (created, reused or extended — see `contentTypeActions`). */
12463
+ contentTypes: string[];
12464
+ /** Per label, what the build does with it — known only once the preflight said so (absent = not known). */
12465
+ contentTypeActions: Partial<Record<ContentTypeAction, string[]>>;
12466
+ /** Sample items, all types together. */
12467
+ items: number;
12468
+ /** Commerce G1: sample products for the shop (0 = the plan sells nothing) and their categories. */
12469
+ products: number;
12470
+ categories: number;
12471
+ /** Pages (template pages included) and their routes. */
12472
+ pages: number;
12473
+ routes: string[];
12474
+ /** Links in the menu (pages `inNav`). */
12475
+ navLinks: number;
12476
+ /** The look's flavor. */
12477
+ flavorId: string;
12478
+ }
12479
+ declare function buildStepFacts(plan: SitePlan, actions?: Readonly<Record<string, `${ContentTypeAction}`>>): BuildStepFacts;
12480
+
12481
+ /**
12482
+ * What a REDESIGN may add (site-redesign plan §3e — RD3-D2 as amended by Doron, 2026-11-21: "the system can suggest new
12483
+ * pages if make sense and in case do use asked for redisign and new pages or content"). Additive only: a new page takes
12484
+ * a NEW address, new content (a type, items) sits beside what exists, and nothing existing — a type, a field, an item,
12485
+ * a data source, a relation, an address — is ever edited or removed. Facts are never invented (a missing one is a
12486
+ * placeholder the gate blocks on).
12487
+ *
12488
+ * Two strict requests, built from the plan wire's OWN entries (the vocabulary, the expanders and the gate are the
12489
+ * build's): **Pages** first — every redesign, the pages to add with who wanted them and why, the new types those pages
12490
+ * need (by name) and the new items an existing type should get (by count) — then **Content**, only when Pages named a new
12491
+ * type or new items: the new types in full and the new items' values. The sources a new type is read by are DERIVED
12492
+ * (`additionSourcesOf`), never asked — so the Pages request can bind them before the type exists. Pure; no transport.
12493
+ */
12494
+ /** Who wanted a page the redesign adds. */
12495
+ declare enum AdditionOrigin {
12496
+ /** The owner's sentence asked for it — staged with its switch ON. */
12497
+ Asked = "asked",
12498
+ /** The reading says the site lacks it — staged with its switch OFF, never added unless the owner turns it on. */
12499
+ Suggested = "suggested"
12500
+ }
12501
+ /** The two requests, in the order they are asked. */
12502
+ declare enum AdditionsPart {
12503
+ Pages = "pages",
12504
+ Content = "content"
12505
+ }
12506
+ /** Each request's format name. */
12507
+ declare const REDESIGN_ADDITIONS_SCHEMA_NAMES: Readonly<Record<AdditionsPart, string>>;
12508
+ /** At most this many of each (the build's sample cap for items). */
12509
+ declare const ADDITION_CAPS: {
12510
+ readonly suggested: 2;
12511
+ readonly asked: 6;
12512
+ readonly itemsPerType: 6;
12513
+ };
12514
+ /** The suffix of a new type's one-item source (its per-item page reads it by `:slug`). */
12515
+ declare const ADDITION_ITEM_SOURCE_SUFFIX = "Item";
12516
+ /** The field and route param a new type's item page is picked by. */
12517
+ declare const ADDITION_SLUG = "slug";
12518
+ /** The format a model writes one additions request in (≤ 40 properties each — `redesign-additions.spec`). */
12519
+ declare function redesignAdditionsJsonSchema(part: AdditionsPart): JsonSchema;
12520
+ /** A page the redesign adds. */
12521
+ interface AdditionPage {
12522
+ page: PagePlan;
12523
+ origin: AdditionOrigin;
12524
+ reason: string;
12525
+ }
12526
+ /** One new item into a type (existing or new): its field values. */
12527
+ interface AdditionItem {
12528
+ contentType: string;
12529
+ values: Readonly<Record<string, unknown>>;
12530
+ }
12531
+ /** What a redesign adds, expanded from its answers. */
12532
+ interface RedesignAdditions {
12533
+ pages: AdditionPage[];
12534
+ contentTypes: ContentTypePlan[];
12535
+ /** Derived (`additionSourcesOf`) for every new type. */
12536
+ dataSources: CmsDataSourcePlan[];
12537
+ items: AdditionItem[];
12538
+ /** The Pages answer's asks: new types by name, new items by count — what the Content request is asked for. */
12539
+ asks: {
12540
+ newTypes: Array<{
12541
+ name: string;
12542
+ label: string;
12543
+ }>;
12544
+ newItems: Array<{
12545
+ contentType: string;
12546
+ count: number;
12547
+ }>;
12548
+ };
12549
+ }
12550
+ /** The sources a new type is read by — derived, never asked: the list (`<type>`) and one item by `:slug`. */
12551
+ declare function additionSourcesOf(typeName: string): CmsDataSourcePlan[];
12552
+ /** Does the Pages answer ask for content (so the Content request is asked). */
12553
+ declare function additionsNeedContent(pagesAnswer: unknown): boolean;
12554
+ /**
12555
+ * The answers → what the redesign adds. Translates, never repairs (as `expandPlanWire`): a wrong value stays wrong, for
12556
+ * `checkAdditions`. The Content answer is absent when it was not asked.
12557
+ */
12558
+ declare function expandAdditions(pagesAnswer: unknown, contentAnswer?: unknown): RedesignAdditions;
12559
+ /** What `checkAdditions` refuses. */
12560
+ declare enum AdditionIssueCode {
12561
+ /** A new page at an address the studio (or another addition) already has. */
12562
+ RouteTaken = "addition-route-taken",
12563
+ /** A new type whose name the studio already has — an existing type is never changed. */
12564
+ TypeExists = "addition-type-exists",
12565
+ /** An item, or a page's binding, for a type that is neither the studio's nor a new one. */
12566
+ TypeUnknown = "addition-type-unknown",
12567
+ /** A binding to a source that is neither the studio's nor a new type's derived one. */
12568
+ SourceUnknown = "addition-source-unknown",
12569
+ /** An `asked` page or new items with no sentence to ask for them. */
12570
+ NotAsked = "addition-not-asked",
12571
+ /** More than `ADDITION_CAPS` allows. */
12572
+ TooMany = "addition-too-many",
12573
+ /** A new type named by Pages that Content did not write (or wrote twice), or one written that Pages did not name. */
12574
+ TypeMismatch = "addition-type-mismatch"
12575
+ }
12576
+ interface AdditionIssue {
12577
+ code: AdditionIssueCode;
12578
+ /** Into the answer that holds it (`pages[1].route`, `contentTypes[0].name`, `items[2].contentType`). */
12579
+ path: string;
12580
+ message: string;
12581
+ }
12582
+ /** What the studio has — what an addition may never take or change. */
12583
+ interface AdditionsStudio {
12584
+ routes: ReadonlyArray<string>;
12585
+ contentTypes: ReadonlyArray<string>;
12586
+ dataSources: ReadonlyArray<string>;
12587
+ /** The owner's sentence ('' = none). */
12588
+ prompt: string;
12589
+ }
12590
+ /**
12591
+ * THE additive check (§3e): every page at a new address, every new type a new name, every item into a known type, every
12592
+ * binding to a known source, `asked` only with a sentence, the caps held, and the Content answer exactly the types Pages
12593
+ * named. Refuses with a path; never repairs. An existing type's FIELDS cannot be expressed by the format at all.
12594
+ */
12595
+ declare function checkAdditions(additions: RedesignAdditions, studio: AdditionsStudio): AdditionIssue[];
12596
+ /** A page the redesign adds is keyed `added:<n>` in the run's plan (its order in the Pages answer). */
12597
+ declare const ADDITION_KEY_PREFIX = "added:";
12598
+ declare const additionKey: (n: number) => string;
12599
+ declare const isAdditionKey: (key: string | null | undefined) => boolean;
12600
+ /** What a Switch's `additions` names to write the new items the sentence asked for into types the studio HAS. */
12601
+ declare const ADDITION_ITEMS_KEY = "items";
12602
+ /** The NEW content types an added page brings: its template, or a type whose derived source it reads. */
12603
+ declare function typesOfAddition(page: PagePlan, additions: Pick<RedesignAdditions, 'contentTypes'>): string[];
12604
+ /**
12605
+ * The plan with what the redesign adds (§3e) — pure. Each added page keyed `added:<n>`; the new types and their derived
12606
+ * sources appended (a source alias the plan already has is never replaced). `only`: just these additions' pages, and only
12607
+ * the new types (and their sources) those pages bring — what a Switch with some additions turned off writes.
12608
+ */
12609
+ declare function withAdditions(plan: SitePlan, additions: RedesignAdditions, only?: ReadonlySet<string>): SitePlan;
12610
+
12611
+ /**
12612
+ * A REDESIGN run's wire vocabulary (site-redesign plan §3c, RD2): a new design for a built site, with everything it holds
12613
+ * kept. The same W2 runner and the same single-run slot as a build (`SiteBuildKind.Redesign` in the `siteBuilds`
12614
+ * collection), its own steps: Snapshot → Harvest → Compose → Stage, then the owner's Switch, then Back for
12615
+ * `REDESIGN_BACK_DAYS`. Structure is locked (RD-D4): a redesign writes pages' layouts and settings, the header and footer,
12616
+ * and the look — never a content type, field, item, data source or route. ONE definition: iox-cms stores and answers it,
12617
+ * the redesign screens (RD3) read it. Pure types, enums and helpers; no transport.
12618
+ */
12619
+ /** The steps a redesign takes before its Switch, in the order they run. */
12620
+ declare enum RedesignStep {
12621
+ /** Every page in scope (its layout, settings, fingerprint) and the globals — the version Back restores. */
12622
+ Snapshot = "snapshot",
12623
+ /** `harvestPage` per page in scope: what on it is the owner's. */
12624
+ Harvest = "harvest",
12625
+ /** What the redesign may ADD (§3e, RD3-D2 as amended): new pages the owner asked for or the reading suggests, the new
12626
+ * content they need — asked, checked (`checkAdditions`), drawn and staged; nothing existing is touched. */
12627
+ Additions = "additions",
12628
+ /** Per page: the model's layout with its carry (a composed page), or the page re-fitted for the new look. */
12629
+ Compose = "compose",
12630
+ /** The new layouts, header, footer and look written onto the RUN — the live site does not move. */
12631
+ Stage = "stage"
12632
+ }
12633
+ declare const REDESIGN_STEPS: ReadonlyArray<RedesignStep>;
12634
+ /** How long Back stays open after a Switch (RD-D11). */
12635
+ declare const REDESIGN_BACK_DAYS = 30;
12636
+ /** How a page in scope got its new design. */
12637
+ declare enum StagedPageWay {
12638
+ /** The model laid it out (the M8 layout request with the page's carry). */
12639
+ Composed = "composed",
12640
+ /** Re-stamped from its run's plan in the new look, the owner's content and edits carried (Re-fit — no model). */
12641
+ Refit = "refit",
12642
+ /** Not redesigned: it stays as it is and wears the new look through its tokens and element styles. */
12643
+ Kept = "kept"
12644
+ }
12645
+ /** Why a page went the way it did, when the way alone does not say it. */
12646
+ declare enum StagedPageReason {
12647
+ /** The page is laid out by patterns in its plan (not a composed page): re-fitted, no model asked (RD-D13). */
12648
+ Patterns = "patterns",
12649
+ /** The model's layout did not hold (after its repair and the section fallback): re-fitted instead. */
12650
+ ModelFellBack = "model-fell-back",
12651
+ /** There is no reading to ask the model with (a site built from a template): re-fitted. */
12652
+ NoReading = "no-reading",
12653
+ /** The model was refused before the call (credits, plan): re-fitted. */
12654
+ Refused = "refused",
12655
+ /** A legal page: its text is the owner's, never recomposed (RD-D17). */
12656
+ Legal = "legal",
12657
+ /** A page the owner made by hand that stays as it is: there is no reading to lay it out with (a studio built from a
12658
+ * template). With a reading it is laid out like a composed page (RD-D16, RD3-D1 — `handPageKey`). */
12659
+ HandMade = "hand-made",
12660
+ /** The run that built it, or its page in that run's plan, is gone: nothing to re-stamp it from. */
12661
+ NoSource = "no-source"
12662
+ }
12663
+ /** What the owner asked of the redesign. */
12664
+ interface RedesignRequest {
12665
+ /** "What should change in your site's design?" — every layout request reads it. */
12666
+ prompt: string;
12667
+ /** The new look (design-core `DesignChoices`, completed against its pack) — the one the Switch applies. */
12668
+ design: Record<string, unknown>;
12669
+ /** The pages in scope by id; null = every page of the studio. */
12670
+ pages: string[] | null;
12671
+ /** RD-D8: keep the header and footer as they are. */
12672
+ keepGlobals: boolean;
12673
+ /** RD-D16: section (root) indexes per page id the owner ticked Keep. */
12674
+ keep: Record<string, number[]>;
12675
+ /** A model the owner chose for the layouts (M8 D4), or none: the studio's choice for the step. */
12676
+ model?: string;
12677
+ }
12678
+ /** A page as the Snapshot took it — what Back restores, and what Switch judges a page edited after the harvest by. */
12679
+ interface RedesignSnapshotPage {
12680
+ pageId: string;
12681
+ name: string;
12682
+ route: string;
12683
+ /** The whole page document's fingerprint at the snapshot (iox-cms `fingerprint`). */
12684
+ fingerprint: string;
12685
+ layout: SerializedNode[];
12686
+ pageSettings: Record<string, unknown>;
12687
+ }
12688
+ interface RedesignSnapshot {
12689
+ pages: RedesignSnapshotPage[];
12690
+ /** The studio's global elements as they were (the header and footer the Switch may replace). */
12691
+ globals: SerializedNode[];
12692
+ /** The global elements' data sources, as they were. */
12693
+ globalSources: unknown[];
12694
+ }
12695
+ /** One page's new design, staged on the run. */
12696
+ interface StagedPage {
12697
+ pageId: string;
12698
+ name: string;
12699
+ route: string;
12700
+ /** The page's key in the plan it is composed from: the run that built it, or `handPageKey(pageId)` for a page the owner
12701
+ * made by hand (RD2.1). Absent: kept with no plan page (a legal page). */
12702
+ key?: string;
12703
+ way: StagedPageWay;
12704
+ reason?: StagedPageReason;
12705
+ /** The new layout (absent when kept). */
12706
+ layout?: SerializedNode[];
12707
+ /** The page's settings after a switch (a composed page names this run as its `layoutSource`). */
12708
+ pageSettings?: Record<string, unknown>;
12709
+ /** Handles of the carry that the new layout does not place — Compare's "Not placed" (R-H3). */
12710
+ notPlaced: string[];
12711
+ /** Handles placed as they were arranged (a bound part, a block, a kept section — RD-D20). */
12712
+ keptArrangement: string[];
12713
+ /** What the composer settled alone (a carried link to a node that left, dropped — `mendCarry`). */
12714
+ mended: LayoutIssue[];
12715
+ /** The model that laid it out (a composed page). */
12716
+ model?: string;
12717
+ /** How many times the owner asked for this page again (Try another layout · Redo this page — RD3); absent: never. */
12718
+ again?: number;
12719
+ }
12720
+ /** A page the redesign would ADD (§3e): who wanted it and why, where it goes, what new content it brings — staged, written
12721
+ * only by the Switch when it is turned on. */
12722
+ interface StagedAddition {
12723
+ /** Its key in the run's plan (`added:<n>`) — what Switch `additions` names. */
12724
+ key: string;
12725
+ origin: AdditionOrigin;
12726
+ /** One plain sentence the owner reads beside it. */
12727
+ reason: string;
12728
+ name: string;
12729
+ /** A NEW address — no page of the studio has it. */
12730
+ route: string;
12731
+ /** Switched by default: an asked page is on, a suggested one off until the owner turns it on. */
12732
+ accepted: boolean;
12733
+ /** The page as the Switch writes it (drawn from its sections; the run's plan holds it). */
12734
+ layout: SerializedNode[];
12735
+ pageSettings: Record<string, unknown>;
12736
+ /** The new content types it brings (a type shared by several additions is written with the first one switched). */
12737
+ types: string[];
12738
+ /** New items it brings, per content type (the samples of a new type, or the items the sentence asked for). */
12739
+ items: Record<string, number>;
12740
+ }
12741
+ /** Why a redesign staged no additions without asking, or could not use the answer. */
12742
+ declare enum AdditionsSkipped {
12743
+ /** No sentence, and the owner turned down the suggestions of their last redesign: nothing is asked. */
12744
+ NothingToAsk = "nothing-to-ask",
12745
+ /** Asked, and the answer did not pass (after its one re-ask). */
12746
+ NotUsable = "not-usable",
12747
+ /** Refused before the call (credits, plan) — the redesign goes on without additions. */
12748
+ Refused = "refused"
12749
+ }
12750
+ /** Why the Switch held an addition back: something took its place since it was staged (never overwritten). */
12751
+ declare enum AdditionHeldBack {
12752
+ RouteTaken = "route-taken",
12753
+ TypeExists = "type-exists",
12754
+ SourceTaken = "source-taken",
12755
+ /** It brings a new content type and the person who switched may not add one (an org owner or admin may). */
12756
+ TypesNotAllowed = "types-not-allowed"
12757
+ }
12758
+ /** The additions as staged: the pages, and what was asked but could not be added — said on Compare ("Couldn't add …"). */
12759
+ interface RedesignAdditionsStaged {
12760
+ pages: StagedAddition[];
12761
+ /** New items the sentence asked for into a type the studio HAS, per type — written with the first page switched or,
12762
+ * with no page, by the Switch itself when `items` is accepted. */
12763
+ items: Record<string, number>;
12764
+ /** Refused with a path and not added (the check, or the merged plan's validator). */
12765
+ dropped: AdditionIssue[];
12766
+ /** Why nothing was asked or the answer could not be used (none: it was asked and read). */
12767
+ skipped?: AdditionsSkipped;
12768
+ }
12769
+ interface RedesignStaged {
12770
+ pages: StagedPage[];
12771
+ /** What the redesign would add (§3e) — absent on a run staged before additions existed. */
12772
+ additions?: RedesignAdditionsStaged;
12773
+ /** The new header and footer (absent: kept — RD-D8). */
12774
+ globals?: SerializedNode[];
12775
+ /** The look the Switch applies (completed `DesignChoices`). */
12776
+ design: Record<string, unknown>;
12777
+ /** The placeholders of the staged pages and globals (owner = page key or global slot) — once switched, they are the
12778
+ * live site's for those owners (what the gate counts, what a visitor's page leaves out when blank). */
12779
+ placeholders: ComposedPlaceholder[];
12780
+ }
12781
+ /** What the Switch (and Back) did to one page. */
12782
+ declare enum RedesignPageResult {
12783
+ Switched = "switched",
12784
+ /** Edited after the harvest: not switched (RD-D12) — Compare offers "Redo this page". */
12785
+ Stale = "stale",
12786
+ /** The owner kept the old design for it (per-page accept, RD-D9). */
12787
+ Declined = "declined",
12788
+ /** Kept as it is by the redesign (`StagedPageWay.Kept`) — nothing to write. */
12789
+ Unchanged = "unchanged",
12790
+ /** Back: the snapshot is on the page again. */
12791
+ Restored = "restored",
12792
+ /** Back: edited since the switch and not asked to restore — left as it is (RD-D12). */
12793
+ EditedSince = "edited-since",
12794
+ /** Back: the page was deleted since the switch. */
12795
+ Gone = "gone"
12796
+ }
12797
+ /** The parts of a Switch or a Back, in the order they run — a resumed one carries on after the done ones. */
12798
+ declare enum RedesignPart {
12799
+ /** What the redesign adds — new types, items, sources and pages (§3e) — before the pages, so a new page's links resolve. */
12800
+ Additions = "additions",
12801
+ Pages = "pages",
12802
+ Globals = "globals",
12803
+ Look = "look"
12804
+ }
12805
+ declare const REDESIGN_PARTS: ReadonlyArray<RedesignPart>;
12806
+ interface RedesignPageOutcome {
12807
+ pageId: string;
12808
+ result: RedesignPageResult;
12809
+ /** The page's fingerprint as the switch (or Back) left it. */
12810
+ fingerprint?: string;
12811
+ }
12812
+ interface RedesignSwitch {
12813
+ at: Date | string;
12814
+ /** The pages the owner accepted (null = every staged page). */
12815
+ accepted: string[] | null;
12816
+ pages: RedesignPageOutcome[];
12817
+ /** Global ids the switch wrote, with their fingerprints (Back puts the old ones back only over these, unchanged). */
12818
+ globals: Array<{
12819
+ id: string;
12820
+ fingerprint: string;
12821
+ }>;
12822
+ /** The additions the owner turned on (keys); absent = each as staged (`accepted`). */
12823
+ additions?: string[] | null;
12824
+ /** Exactly what the Switch ADDED (§3e) — the build's record shape, so Back removes these and nothing else, by the
12825
+ * build's Undo rule (fingerprint, in use). */
12826
+ added?: CreatedRecord[];
12827
+ /** Additions held back at the Switch: their address or a type name was taken since — decided once, before the first
12828
+ * write, so a resumed Switch writes exactly the same. */
12829
+ heldBack?: Array<{
12830
+ key: string;
12831
+ reason: AdditionHeldBack;
12832
+ }>;
12833
+ /** Whether the person who switched may add a content type (an org owner or admin). */
12834
+ mayAddTypes?: boolean;
12835
+ done: RedesignPart[];
12836
+ finishedAt?: Date | string;
12837
+ error?: BuildStepError;
11730
12838
  }
11731
- /**
11732
- * The stable key each written document carries beside `siteBuildId`: a step that runs twice looks it up first and
11733
- * skips what exists (so a restart or a Retry continues without duplicates), and a reader finds what the run made
11734
- * by it — the wizard opens the HOME page by `page(<its key>)`. One builder per kind.
11735
- */
11736
- declare const buildKeys: {
11737
- readonly contentType: (name: string) => string;
11738
- readonly contentTypeFields: (name: string) => string;
11739
- readonly item: (contentType: string, n: number) => string;
11740
- readonly shopCategory: (n: number) => string;
11741
- readonly shopProduct: (n: number) => string;
11742
- readonly sampleImage: (n: number) => string;
11743
- readonly stockPhoto: (libraryKey: string) => string;
11744
- readonly dataSource: (alias: string) => string;
11745
- readonly page: (key: string) => string;
11746
- readonly global: (nodeId: string) => string;
11747
- readonly look: () => string;
11748
- };
11749
- /** The id of the page a run made for the plan's home page, or null (not made yet, or no home page). */
11750
- declare function builtHomePageId(run: Pick<SiteBuildRun, 'plan' | 'created'> | null | undefined): string | null;
11751
- /** The step a run stopped at, or null. */
11752
- declare function failedBuildStep(run: Pick<SiteBuildRun, 'steps'> | null | undefined): BuildStepRecord | null;
11753
- /** A run still holding the org's slot (building or undoing) — a page that left it comes back to its progress. */
11754
- declare function isActiveBuild(run: Pick<SiteBuildRun, 'status'> | null | undefined): boolean;
11755
- /** What a build does with each content type its plan names (the preflight's `summary.contentTypes[].action`): content
11756
- * types are shared by every organization of a studio, so one the studio already has is reused, or extended with the
11757
- * fields it lacks — never created twice. */
11758
- declare enum ContentTypeAction {
11759
- Create = "create",
11760
- Reuse = "reuse",
11761
- Extend = "extend"
12839
+ interface RedesignBack {
12840
+ at: Date | string;
12841
+ /** Pages edited since the switch the owner chose to restore anyway. */
12842
+ restoreEdited: string[];
12843
+ pages: RedesignPageOutcome[];
12844
+ /** Globals edited since the switch, left as they are. */
12845
+ keptGlobals: string[];
12846
+ /** Look tokens the author edited since, kept (DS8.1). */
12847
+ keptTokens: string[];
12848
+ /** What the Switch added that Back left — edited since, or still shown by a page that stays (the build's Undo rule). */
12849
+ keptAdded?: UndoKept[];
12850
+ done: RedesignPart[];
12851
+ finishedAt?: Date | string;
12852
+ error?: BuildStepError;
11762
12853
  }
11763
- /** What each step of a build of `plan` will make — the progress rows' words, from the plan (+ the preflight's actions). */
11764
- interface BuildStepFacts {
11765
- /** The plan's content types: their labels (created, reused or extended — see `contentTypeActions`). */
11766
- contentTypes: string[];
11767
- /** Per label, what the build does with it — known only once the preflight said so (absent = not known). */
11768
- contentTypeActions: Partial<Record<ContentTypeAction, string[]>>;
11769
- /** Sample items, all types together. */
11770
- items: number;
11771
- /** Commerce G1: sample products for the shop (0 = the plan sells nothing) and their categories. */
11772
- products: number;
11773
- categories: number;
11774
- /** Pages (template pages included) and their routes. */
11775
- pages: number;
11776
- routes: string[];
11777
- /** Links in the menu (pages `inNav`). */
11778
- navLinks: number;
11779
- /** The look's flavor. */
11780
- flavorId: string;
12854
+ /** The run as `GET …/site-builds/:id` answers a redesign. */
12855
+ interface RedesignRun {
12856
+ _id: string;
12857
+ organization: string;
12858
+ kind: SiteBuildKind.Redesign;
12859
+ status: SiteBuildStatus;
12860
+ active?: boolean;
12861
+ steps: BuildStepRecord<RedesignStep>[];
12862
+ request: RedesignRequest;
12863
+ /** The build runs whose plans the pages in scope were composed from. */
12864
+ sourceRunIds: string[];
12865
+ snapshot?: RedesignSnapshot;
12866
+ staged?: RedesignStaged;
12867
+ switch?: RedesignSwitch;
12868
+ back?: RedesignBack;
12869
+ requestedBy: string;
12870
+ startedAt: Date | string;
12871
+ finishedAt?: Date | string;
11781
12872
  }
11782
- declare function buildStepFacts(plan: SitePlan, actions?: Readonly<Record<string, `${ContentTypeAction}`>>): BuildStepFacts;
12873
+ /** `GET …/site-builds/:id/back`: what a Back would restore and what it would ask about — never guessed in the browser. */
12874
+ interface RedesignBackPreview {
12875
+ open: boolean;
12876
+ until: string | null;
12877
+ restores: string[];
12878
+ /** Pages edited since the switch: Back leaves them unless the owner names them. */
12879
+ editedSince: Array<{
12880
+ pageId: string;
12881
+ name: string;
12882
+ }>;
12883
+ revertsLook: boolean;
12884
+ }
12885
+ /** `GET …/redesign/:id/switch` — what a Switch would do NOW, before the owner clicks it (RD3): each staged page's result as
12886
+ * the Switch would judge it (a page changed since the harvest is `stale` — Compare offers Redo this page), and the gate's
12887
+ * refusal for the site as the switch would leave it (null: it would pass, or no live page is written). Writes nothing. */
12888
+ interface RedesignSwitchPreview {
12889
+ pages: Array<{
12890
+ pageId: string;
12891
+ name: string;
12892
+ result: RedesignPageResult;
12893
+ }>;
12894
+ /** The ONE Publish dialog's refusal (iox-cms's 409 body), as `POST …/switch` would answer it with no acknowledgement. */
12895
+ gate: unknown | null;
12896
+ }
12897
+ /** The refusals of a redesign's start, switch and back. */
12898
+ declare enum RedesignRefusalCode {
12899
+ /** No page in scope was built by a site build — there is nothing to redesign. */
12900
+ NothingBuilt = "nothing-built",
12901
+ /** A page id in scope is not a page of this organization. */
12902
+ UnknownPage = "unknown-page",
12903
+ /** The look asked for is not a look (design-core cannot complete it). */
12904
+ InvalidDesign = "invalid-design",
12905
+ /** Switch on a run that is not staged, Back on one that is not switched. */
12906
+ WrongStatus = "wrong-status",
12907
+ /** Back after `REDESIGN_BACK_DAYS`. */
12908
+ BackClosed = "back-closed",
12909
+ /** One page again: the page is not one of the run's staged pages, or it stays as it is with nothing to lay out
12910
+ * (a legal page, a page with no plan to compose it from). */
12911
+ NotRedesignable = "not-redesignable"
12912
+ }
12913
+ /** The day Back closes, or null (not switched). */
12914
+ declare function redesignBackUntil(run: Pick<RedesignRun, 'switch'>): Date | null;
12915
+ /** May Back run now: switched, and within `REDESIGN_BACK_DAYS` of the switch. */
12916
+ declare function redesignBackOpen(run: Pick<RedesignRun, 'status' | 'switch'>, now: Date): boolean;
12917
+ /** The plan-page key of a page the owner made by hand (RD2.1, RD3-D1 (a)): `hand:<pageId>`. */
12918
+ declare const HAND_PAGE_KEY_PREFIX = "hand:";
12919
+ declare function handPageKey(pageId: string): string;
12920
+ /** Is `key` a hand-made page's plan-page key. */
12921
+ declare function isHandPageKey(key: string | null | undefined): boolean;
12922
+ /**
12923
+ * The plan page a redesign gives a page the owner made by hand (RD2.1): its address and name, laid out by the model in the
12924
+ * layout language (`compose`), every section the owner's (`harvestPage(…, { built: false })`), no sections of its own to
12925
+ * fall back on, never added to the navigation (the owner's header decides that, as before).
12926
+ */
12927
+ declare function handPlanPage(page: Pick<RedesignSnapshotPage, 'pageId' | 'name' | 'route'>): PagePlan;
12928
+ /** May the owner let a redesign go (Discard): staged, or failed before any Switch wrote a page. */
12929
+ declare function redesignDiscardable(run: Pick<RedesignRun, 'status' | 'switch'>): boolean;
12930
+ /** Is a run a redesign (a stored run of either kind). */
12931
+ declare function isRedesignRun(run: {
12932
+ kind?: unknown;
12933
+ } | null | undefined): boolean;
11783
12934
 
11784
12935
  /**
11785
12936
  * The plan WIRE (AI plan M1-3, vectoriox/iox-cms#45, #47): what a model writes when it plans a site — a compact format
@@ -13381,26 +14532,6 @@ declare function layoutMotionOf(presetId: string): {
13381
14532
  */
13382
14533
  declare function layoutDialOf(animate: string | null | undefined, ceiling: string | null | undefined): `${LayoutDial}`;
13383
14534
 
13384
- /**
13385
- * What a business type's lists never do (L-D12, the contract's harness `businessTypes[].lists` — harness-core
13386
- * `BusinessType.lists`, passed in as data: harness-core reads generation-core, never the other way round).
13387
- */
13388
- interface LayoutListNever {
13389
- readonly arranges: ReadonlyArray<string>;
13390
- readonly moves: ReadonlyArray<string>;
13391
- /** Why, in the owner's words — said with the repair. */
13392
- readonly say: ReadonlyArray<string>;
13393
- }
13394
- /** True when the type's art direction forbids nothing. */
13395
- declare const listNeverIsEmpty: (never?: LayoutListNever | null) => boolean;
13396
- /**
13397
- * Judge one list section's mix against the list it shows (`shape`, from `layoutListShapes`; null when the source is no
13398
- * list — the source check says that). `layer` is the layer's path (`sections[1].layers[0]`).
13399
- */
13400
- declare function checkList(mix: LayoutListMix, shape: LayoutListShape | null, layer: string, never?: LayoutListNever | null): LayoutIssue[];
13401
- /** Two list sections of one page never share an arrangement (list-ingredients §7): the later ones are the model's. */
13402
- declare function pageListIssues(page: LayoutPage): LayoutIssue[];
13403
-
13404
14535
  /** A gallery the wire marks `autoplay` turns every 5 s — what the proof sites' autoplaying galleries do. */
13405
14536
  declare const LAYOUT_WIRE_AUTOPLAY_MS = 5000;
13406
14537
  /**
@@ -13435,7 +14566,12 @@ interface LayoutWireOptions {
13435
14566
  lists?: ReadonlyArray<LayoutWireList>;
13436
14567
  /** L-D12: what this business type's lists never do — those words are not offered (the check repairs one anyway). */
13437
14568
  never?: LayoutListNever | null;
14569
+ /** A redesign (site-redesign RD2, H3): THIS page's carry handles (`carryHandles`) — given, every layer carries `carry`,
14570
+ * closed to these handles: a model can place only the page's own parts (one property: 38, 40 with lists). */
14571
+ carry?: ReadonlyArray<string>;
13438
14572
  }
14573
+ /** Is `handle` one a section places whole (`bind:`/`block:`/`keep:`), never a layer's words or photo? */
14574
+ declare function isSectionCarryHandle(handle: string): boolean;
13439
14575
  /** The mix words offered to a business whose lists never do `never` (L-D12): the built words less the forbidden ones. */
13440
14576
  declare function layoutMixOffered(never?: LayoutListNever | null): string[];
13441
14577
  /** `<list>.<role>` for every role of every list — what a list section's `parts` may name. */
@@ -13475,6 +14611,8 @@ interface LayoutWireLayer {
13475
14611
  /** LI1, with `LayoutWireOptions.lists`: a list section's mix (`arrange:grid`…) and its parts (`stories.quote`…). */
13476
14612
  mix?: string[];
13477
14613
  parts?: string[];
14614
+ /** RD2, with `LayoutWireOptions.carry`: the owner's part this layer places (`w3`, `p1`, `form:<id>`), or 'none'. */
14615
+ carry?: string;
13478
14616
  }
13479
14617
  interface LayoutWireSection {
13480
14618
  id: string;
@@ -13785,155 +14923,6 @@ declare function fallBackBySection(page: LayoutPage, plan: ReadonlyArray<PageSec
13785
14923
  */
13786
14924
  declare function planLayoutPhotos(plan: Pick<SitePlan, 'pages'>): Record<LayoutPhotoSource, string[]>;
13787
14925
 
13788
- /**
13789
- * THE PHOTO INVENTORY (premium components M8 gate 2, §5; the prototype's `code/inventory.cjs`, made pure): what a layout
13790
- * may know about a photo without seeing it — its shape, five main colours, and a 12×12 grid of how light and how busy each
13791
- * part is. iox-cms decodes the pixels (sharp → RGBA) and calls `photoInventory`; `checkLayout` reads the grid through
13792
- * `calmUnder` to judge words set over the part of the photo a frame SHOWS; the model reads `describeInventoryForPrompt`.
13793
- * No DOM, no decoder: RGBA bytes in, numbers out, deterministic.
13794
- */
13795
- declare enum PhotoTone {
13796
- Light = "light",
13797
- Dark = "dark"
13798
- }
13799
- interface PhotoInventory {
13800
- shape: `${LayoutPhotoShape}`;
13801
- width: number;
13802
- height: number;
13803
- grid: {
13804
- cols: number;
13805
- rows: number;
13806
- /** Each cell's mean WCAG relative luminance (linear light), row by row. */
13807
- luminance: number[];
13808
- /** Each cell's mean |Laplacian| of its gamma-encoded luma (edges and texture), row by row; 0 is a flat field. */
13809
- detail: number[];
13810
- };
13811
- /** Up to five main colours (`#rrggbb`), the most of the picture first; fewer when the picture holds fewer. */
13812
- colours: string[];
13813
- tone: `${PhotoTone}`;
13814
- }
13815
- /** A region of a frame, as fractions of its width (x) and height (y). */
13816
- interface FrameRegion {
13817
- x0: number;
13818
- y0: number;
13819
- x1: number;
13820
- y1: number;
13821
- }
13822
- interface CalmReading {
13823
- calm: boolean;
13824
- tone: `${PhotoTone}`;
13825
- /** The region's mean relative luminance (what a colour over it is measured against). */
13826
- luminance: number;
13827
- /** The region's mean detail. */
13828
- detail: number;
13829
- }
13830
- declare const PHOTO_GRID = 12;
13831
- /** Pixels are averaged down to this width before they are measured: the prototype measured at 96 wide, and the calm
13832
- * threshold below was read off its 35 proof photos at that scale (a Laplacian grows with resolution). */
13833
- declare const PHOTO_ANALYSIS_WIDTH = 96;
13834
- /** Calm: the mean detail under the words is at most this. The prototype's absolute bar (0.045 at 96 px wide: the busiest
13835
- * cell it called calm across the proof photos); its relative bar (≤ 0.55 × the photo's busiest cell) is not ported —
13836
- * it called nothing calm on a photo that is flat everywhere. */
13837
- declare const PHOTO_CALM_DETAIL = 0.045;
13838
- /** Light: above the luminance where black and white words have the same contrast (√(1.05 × 0.05) − 0.05). */
13839
- declare const PHOTO_LIGHT_LUMINANCE = 0.179;
13840
- /** A photo's shape from its size. */
13841
- declare function photoShapeOf(width: number, height: number): LayoutPhotoShape;
13842
- declare const toneOf: (luminance: number) => PhotoTone;
13843
- /** What a photo is, measured from its pixels (RGBA bytes, row by row). */
13844
- declare function photoInventory(rgba: Uint8ClampedArray | Uint8Array, width: number, height: number): PhotoInventory;
13845
- /** The part of the photo a frame region shows under `object-fit: cover` (centred): the frame crops the photo's longer side. */
13846
- declare function coverCrop(inv: Pick<PhotoInventory, 'width' | 'height'>, frame: {
13847
- w: number;
13848
- h: number;
13849
- }, region: FrameRegion): FrameRegion;
13850
- /**
13851
- * Whether words over `region` of a frame (fractions of the FRAME, which shows the photo as `object-fit: cover`, centred)
13852
- * sit on a calm part of the photo, and how light it is there. A calm band the crop cuts away is not under the words.
13853
- */
13854
- declare function calmUnder(inv: PhotoInventory, frame: {
13855
- w: number;
13856
- h: number;
13857
- }, region: FrameRegion): CalmReading;
13858
- /** The photo's 3×3 named parts that are calm, each light or dark (`top-start (dark)`). */
13859
- declare function calmParts(inv: PhotoInventory): string[];
13860
- /** One line a model reads instead of the photo: its id, what it shows, shape, colours and where words may sit. */
13861
- declare function describeInventoryForPrompt(id: string, inv: PhotoInventory, label?: string): string;
13862
-
13863
- interface CheckLayoutContext {
13864
- presetId: string;
13865
- mode: 'light' | 'dark';
13866
- locale: 'en' | 'he';
13867
- /** Every photo the page may use: its inventory, or null when it was not measured (words never sit on it). */
13868
- photos: Record<string, PhotoInventory | null>;
13869
- /** The list data sources a gallery may show (`gallery.source`). */
13870
- sources?: string[];
13871
- /** Every list the plan has (`layoutGalleryLists`): a gallery naming one without pictures is mended to one with them. */
13872
- lists?: ReadonlyArray<LayoutGalleryList>;
13873
- /** What each list holds (`layoutListShapes`): a list section's mix is judged against it (`checkList`, LI2). */
13874
- listShapes?: ReadonlyArray<LayoutListShape>;
13875
- /** What this business type's lists never do (L-D12 — harness-core `BusinessType.lists`): repaired by `checkList`. */
13876
- listNever?: LayoutListNever;
13877
- /** The site's page routes a button may lead to (`/contact`). */
13878
- routes?: string[];
13879
- /** Every word the owner gave and what was read from it: a number not in here was invented. */
13880
- facts?: string;
13881
- /** The fact keys a `{fact:<key>}` token may name (default: the contract's `site.facts`). */
13882
- factKeys?: string[];
13883
- /** The business takes leads (the lead form is offered). */
13884
- takesLeads?: boolean;
13885
- /** This is the home page: it must offer a way to reach the business. */
13886
- first?: boolean;
13887
- /** The design the page will wear: its fonts decide whether a `screen` word fits (iox-ui#46). Default: the preset's. */
13888
- design?: DesignChoices;
13889
- }
13890
- type LayoutColours = Readonly<Record<LayoutColour, string>>;
13891
- /** A preset's five colours in a mode as `#rrggbb` (the prototype's `presetColours`), or null when it does not wear that mode. */
13892
- declare function layoutPresetColours(presetId: string, mode: 'light' | 'dark'): LayoutColours | null;
13893
- /** A section of one photo on one side and words on the other: 'start' | 'end' | null (the prototype's `splitSide`). */
13894
- declare function splitSide(s: LayoutSection): 'start' | 'end' | null;
13895
- /** Every photo id a page names: photo layers, gallery slides, photo grounds. */
13896
- declare function layoutPhotoIds(page: LayoutPage): string[];
13897
- /**
13898
- * Every rule a composed page keeps, each refused with a path. Empty means it passes.
13899
- *
13900
- * A page silent section fallback gave sections away (`page.givenAway`, iox-ui#67 — Doron, 2026-11-09): its MINIMUMS — the
13901
- * one signature and the inhale before it, the glide floor, galleries, the daring minimums, the number of sections — are
13902
- * judged on the model's own remaining sections, so what a removed section carried no longer fails the page. Its
13903
- * MAXIMUMS are judged on the whole page, ready-made places included (a ready-made section that enters counts toward the
13904
- * entrances), and reading, contrast and sameness are untouched.
13905
- */
13906
- declare function checkLayout(page: LayoutPage, ctx: CheckLayoutContext): LayoutIssue[];
13907
- /**
13908
- * M8-G2-D12 — what a look switch costs a composed page: the issues the check finds in the new look (`ctx`) at a place
13909
- * where the look it was composed for (`from`) found none of that kind. Nothing to say → []; the page's own known misses
13910
- * (in both looks) are never blamed on the switch.
13911
- */
13912
- declare function layoutLookChanges(page: LayoutPage, ctx: CheckLayoutContext, from: Pick<CheckLayoutContext, 'presetId' | 'mode'>): LayoutIssue[];
13913
- /** The longest a time entrance plays. */
13914
- declare const LAYOUT_ENTRANCE_MAX_MS = 1200;
13915
- /** The scale an action starts from, where it is not 1 (iox-ui `buildInteractionKeyframes`; held equal by the spec). */
13916
- declare const ACTION_START_SCALE: Readonly<Record<string, number>>;
13917
- /** Emil's rules a composed page's nodes can be held to without running them: eases, `transition: all`, scale, entrance length. */
13918
- declare function auditLayoutMotion(nodes: ReadonlyArray<SerializedNode>): LayoutIssue[];
13919
- /**
13920
- * What the composer settles by itself before the model is asked to repair (M8 gate 2, found by the live run: the real
13921
- * model's repair missed 4.43:1 against 4.5:1 and a third accent where two are allowed): words over a busy or too-light part
13922
- * of a photo get the scrim the look allows; words too faint on their ground go back to the ink where the ink holds there;
13923
- * decoration that enters with a move fades instead; the accent leaves the least important words (decoration, then
13924
- * support, later sections first) until the look's count holds, and where the words cannot give enough back, the least
13925
- * important accent bands take the ground nearest the accent their words read on (never the first band, the main call to
13926
- * action's or a form's); and where fewer layers glide than the look asks, the most important layers that may glide take a
13927
- * depth (back) — exactly as many as are missing, or none (iox-ui#63); a gallery naming a list with no pictures shows a list
13928
- * that has them — the only one, else the one the section's words name, else the first (iox-ui#64; none, or words that name
13929
- * the list it named: the model's — #66). No
13930
- * word, place or photo changes and a button is never touched; what cannot be settled this way is the model's. Pure: a new page and the issues it settled.
13931
- */
13932
- declare function mendLayout(page: LayoutPage, issues: ReadonlyArray<LayoutIssue>): {
13933
- page: LayoutPage;
13934
- mended: LayoutIssue[];
13935
- };
13936
-
13937
14926
  /**
13938
14927
  * THE LIST TABLE (list-ingredients-plan.md; the contract's `layout.mjs` `LIST`, in the shape every mixed part shares —
13939
14928
  * ingredients.md §2): the words of each ingredient, what each means, and which wait for a later phase and are drawn as
@@ -14634,6 +15623,86 @@ declare function samenessIssues(me: LayoutFingerprint, others: ReadonlyArray<Fin
14634
15623
  * its order of sections (`demo`). layout-fingerprint.spec holds them equal to `fingerprintOf` of the proof layouts. */
14635
15624
  declare const PROOF_FINGERPRINTS: ReadonlyArray<FingerprintedPage>;
14636
15625
 
15626
+ /**
15627
+ * EDITING A HEADER IN THE BUILDER (header-ingredients-plan HI1b, board header-studio — HS-4, HS-5): what Bindings ▸ Header
15628
+ * and the Header studio read off a header, and what Apply writes. Pure, one recipe with the generator: every header is
15629
+ * `composeNavHeader(mix)`; the builder never builds one by hand.
15630
+ *
15631
+ * - `readHeader` — the mix the header root stores (`HeaderTrait.Mix`), else its nearest mix; and whether it is still what
15632
+ * that mix composes (`custom` once a part was moved, added or restyled by hand — the owner's words, the pages it lists
15633
+ * and where its buttons lead never make it Custom).
15634
+ * - `applyHeaderMix` — the header for a new mix, composed by the recipe and merged three ways with the header as it is:
15635
+ * the owner's words and their buttons' links are always kept; a part's own style or setting the owner changed is kept
15636
+ * where the new mix leaves that part as the old one did, and REPLACED (and named, before Apply) where it does not;
15637
+ * a part the owner added is named too. A change of trait words only (how the menu opens, its button…) replaces nothing.
15638
+ * - `headerAdvice` — `checkHeader` as advice (HB-D8): what it would mend, never mended silently.
15639
+ */
15640
+ /** What the header is composed from (the builder's studio: its name, its pages, its language, its look, its shop). */
15641
+ type HeaderSite = Omit<NavHeaderInput, 'mix' | 'asAsked'>;
15642
+ interface HeaderEditOptions {
15643
+ /** A phone-shape part's id (the builder's id generator). */
15644
+ readonly newId?: (suffix: string) => string;
15645
+ /** The header's companion globals as they are now — the Both shape's drawer, the bottom bar (`headerCompanions`). */
15646
+ readonly companions?: ReadonlyArray<SerializedNode>;
15647
+ }
15648
+ /** The globals that belong to the site's header (its phone shape's drawer and bar) — what the studio replaces with it. */
15649
+ declare function headerCompanions(globals: ReadonlyArray<SerializedNode>): SerializedNode[];
15650
+ /** A header's SHAPE: what it is made of and what it wears, its words, its links and its ids aside, a run of identical
15651
+ * page links read as one (a page added later is not an edit to the header). Ids another part refers to read as the
15652
+ * part's role. */
15653
+ declare function headerShape(root: SerializedNode): string;
15654
+ /** A header with no stored mix, read as its nearest mix (HS-5): the Studio mix, with what its own settings say — how it
15655
+ * scrolls, its edge, its phone menu, a menu at every width. */
15656
+ declare function nearestHeaderMix(root: SerializedNode, companions?: ReadonlyArray<SerializedNode>): HeaderMix;
15657
+ interface HeaderReading {
15658
+ /** The mix the header stores, else its nearest mix. */
15659
+ mix: HeaderMix;
15660
+ /** The header stores its mix (a header composed since HI1b). */
15661
+ stored: boolean;
15662
+ /** A part was moved, added or restyled by hand: it is no longer what its mix composes (board 4a). */
15663
+ custom: boolean;
15664
+ /** The gallery mix it is, or null. */
15665
+ galleryId: string | null;
15666
+ }
15667
+ /** What a header is (HS-5, board 4a): its mix, and whether it is still what that mix composes. Pure. */
15668
+ declare function readHeader(root: SerializedNode, site: HeaderSite, options?: HeaderEditOptions): HeaderReading;
15669
+ declare enum HeaderReplacedKind {
15670
+ /** The owner's own style or setting on a part the new mix draws differently. */
15671
+ Style = "style",
15672
+ /** A part the owner added by hand, which the new mix does not have. */
15673
+ Added = "added"
15674
+ }
15675
+ /** A part whose owner's work Apply replaces — named before Apply (board 4b). */
15676
+ interface HeaderReplaced {
15677
+ kind: HeaderReplacedKind;
15678
+ /** The part as it is now. */
15679
+ nodeId: string;
15680
+ role?: string;
15681
+ /** Its words (a link's page name, the button's words), or empty. */
15682
+ words: string;
15683
+ }
15684
+ interface HeaderApplied {
15685
+ /** The header for the new mix, with the owner's words — the same id, still the site's global header. */
15686
+ header: SerializedNode;
15687
+ /** Its phone shape's globals (the Both drawer, the bottom bar), placed after it — they replace `options.companions`. */
15688
+ companions: SerializedNode[];
15689
+ mix: HeaderMix;
15690
+ /** What the owner's work it replaces (empty: nothing). */
15691
+ replaced: HeaderReplaced[];
15692
+ issues: ComposeIssue[];
15693
+ }
15694
+ /**
15695
+ * The header for `next` (HS-4): the recipe's header for the new mix, merged three ways with the header as it is and what
15696
+ * its own mix composes (the base). Words — and a call to action's link — are always the owner's. A part's look and its
15697
+ * other settings: untouched by the owner, the new mix's; changed by the owner, kept where the new mix draws that part as
15698
+ * the old one did, else replaced and named. A part the owner added is named (it is not in the new mix). Pure.
15699
+ */
15700
+ declare function applyHeaderMix(current: SerializedNode, next: HeaderMix, site: HeaderSite, options?: HeaderEditOptions): HeaderApplied;
15701
+ /** HB-D8: what `checkHeader` would mend in a mix on this site — said in the studio, never applied by itself. */
15702
+ declare function headerAdvice(mix: HeaderMix, site: HeaderSite): HeaderRepair[];
15703
+ /** The mix a header becomes when one ingredient changes. */
15704
+ declare function withHeaderWord(mix: HeaderMix, ingredient: `${HeaderIngredient}`, word: string): HeaderMix;
15705
+
14637
15706
  /**
14638
15707
  * THE LAYOUT REPAIR (premium components M8 gate 2, §4.1; the prototype's `applyEdits`, `code/cl2.mjs`): a refused page
14639
15708
  * comes back as a few path edits instead of the whole page — the paths `checkLayout` names (`sections[2].layers[1].col`).
@@ -14826,8 +15895,18 @@ interface SiteStudioPage {
14826
15895
  readonly pageKey?: string;
14827
15896
  } | null;
14828
15897
  } | null;
14829
- }
14830
- /** A build run the studio's pages name (`layoutSource.runId`): its plan, when it finished, and the pages its fingerprints
15898
+ /** The build run that created the page (W2 stamps it on EVERY page it writes — composed by a model or stamped from
15899
+ * sections); `layoutSource` names only a model-composed page's run (iox-ui#93). */
15900
+ readonly siteBuildId?: string | null;
15901
+ }
15902
+ /** The build that made a page and its plan page: `layoutSource` when the page was composed, else the run that created it
15903
+ * (`siteBuildId`) and the plan page at the same route — a page stamped from sections is the build's too (iox-ui#93). */
15904
+ declare function pageBuildSource(page: SiteStudioPage, runs: ReadonlyMap<string, SiteStudioRun>): {
15905
+ runId?: string;
15906
+ run?: SiteStudioRun;
15907
+ pageKey?: string;
15908
+ };
15909
+ /** A build run the studio's pages name (`layoutSource.runId`, else `siteBuildId`): its plan, when it finished, and the pages its fingerprints
14831
15910
  * say were changed since (`editedPageIds` of its undo preview; null when it could not be read). */
14832
15911
  interface SiteStudioRun {
14833
15912
  readonly id: string;
@@ -14865,5 +15944,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
14865
15944
  * its phone menu, the footer's copyright line. */
14866
15945
  declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
14867
15946
 
14868
- export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, MAX_SITE_PICTURES, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, ScrimLevel, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, checkFooter, checkHeader, checkLayout, checkList, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnFooterMix, drawnHeaderMix, driftAt, driftOverlap, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, hash53, headerContextOfPlan, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerTokenOf, headerTokenWords, headerWireWords, headerWords, isActiveBuild, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRtlLocale, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendLayout, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, namedFooterMix, namedHeaderMix, navPages, navShapeBreakpoint, navShapeOf, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, orientationOfRatio, ownPhotoFit, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampSection, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, tierOf, tierOffers, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
14869
- export type { AddBarItemResult, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, FactKey, FilmPlacement, FilmTarget, FingerprintedPage, FooterContext, FooterMix, FooterRepair, FooterWait, FrameRegion, HeaderContext, HeaderGap, HeaderMix, HeaderPage, HeaderRecipe, HeaderRepair, JsonSchema, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListIngredient, ListWait, MeasuredLayer, MeasuredLayout, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanWireContext, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, RecipeListBinds, RelativeDataSourcePlan, ScrimChoice, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
15947
+ export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, MAX_SITE_PICTURES, MOTION_TRIGGERS, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryHandles, carryKindOf, carryNotPlaced, checkAdditions, checkCarry, checkFooter, checkHeader, checkLayout, checkList, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnFooterMix, drawnHeaderMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, orientationOfRatio, ownPhotoFit, ownerContentInto, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampSection, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
15948
+ export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, FactKey, FilmPlacement, FilmTarget, FingerprintedPage, FooterContext, FooterMix, FooterRepair, FooterWait, FrameRegion, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, JsonSchema, KeptPageRefusal, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListIngredient, ListWait, MeasuredLayer, MeasuredLayout, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageCarry, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanWireContext, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignPageOutcome, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, ScrimChoice, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };