@vectoriox/iox-ui 5.123.0 → 5.125.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.
@@ -1,4 +1,4 @@
1
- import { AiStep, JsonSchema, PlanWordContext, AdjustAxis, AdjustKind, SerializedNode, SectionInput } from '@vectoriox/iox-ui/generation-core';
1
+ import { AiStep, JsonSchema, PlanWordContext, AdjustAxis, AdjustKind, SerializedNode, SectionInput, KeptReason } from '@vectoriox/iox-ui/generation-core';
2
2
  import { DesignChoices, DesignMode } from '@vectoriox/iox-ui/design-core';
3
3
 
4
4
  /**
@@ -71,6 +71,7 @@ declare enum AssistPermission {
71
71
  ContentRead = "content_read",
72
72
  ContentCreate = "content_create",
73
73
  ContentUpdate = "content_update",
74
+ ContentDelete = "content_delete",
74
75
  PageRead = "page_read",
75
76
  PageCreate = "page_create",
76
77
  PageUpdate = "page_update",
@@ -98,6 +99,14 @@ interface SurfaceSpec {
98
99
  /** The content permissions name a type (`content_<type>_<action>`), as the iox-cms guard specialises them. */
99
100
  readonly perContentType: boolean;
100
101
  readonly readsPhotos: boolean;
102
+ /**
103
+ * A sentence is routed to families first (plan §3c rule 5). A surface whose SCREEN is the route (S3: the owner opened
104
+ * "New from photos" — the families are fixed) asks no route request, and its sentence is the owner's notes, which may be
105
+ * empty.
106
+ */
107
+ readonly routed: boolean;
108
+ /** A Run surface: what its "Undo this turn" needs beyond the surface (it removes what the run wrote). */
109
+ readonly undoPermissions?: ReadonlyArray<AssistPermission>;
101
110
  /** The focus ladder, narrowest first. */
102
111
  readonly scopes: ReadonlyArray<AssistScope>;
103
112
  readonly status: SurfaceStatus;
@@ -112,6 +121,8 @@ declare const commitOf: (surface: AssistSurface, family: EditFamily) => CommitKi
112
121
  * `:resource` route, so a user granted only `content_posts_update` may assist on posts and nowhere else.
113
122
  */
114
123
  declare function surfacePermissions(surface: AssistSurface, contentType?: string, families?: ReadonlyArray<EditFamily>): string[];
124
+ /** What a Run surface's Undo needs: the surface's own permissions and its `undoPermissions`, specialised the same way. */
125
+ declare function surfaceUndoPermissions(surface: AssistSurface, contentType?: string): string[];
115
126
 
116
127
  /** The house budget every Assist request is held to (plan F6, trap T7) — generation-core's, never a copy and never raised. */
117
128
  declare const MAX_ASSIST_PROPERTIES: 40;
@@ -190,7 +201,11 @@ declare enum AssistIssueCode {
190
201
  /** A word this site must not use. */
191
202
  AvoidWord = "avoidWord",
192
203
  /** A look whose colours fail the contrast audit in a mode the site is worn in (family `look`, R4). */
193
- Contrast = "contrast"
204
+ Contrast = "contrast",
205
+ /** S3: a value said to come from the owner's notes when the owner gave none. */
206
+ NotFromOwner = "notFromOwner",
207
+ /** S3: the photos a turn names are not this flow's uploads, or too many / none. */
208
+ BadPhotos = "badPhotos"
194
209
  }
195
210
  interface AssistIssue {
196
211
  readonly code: AssistIssueCode;
@@ -429,6 +444,17 @@ interface FieldsSchemaOptions {
429
444
  readonly locale: string;
430
445
  /** Only these fields (keys or handles) — the focus. Default: every writable field. */
431
446
  readonly fields?: ReadonlyArray<string>;
447
+ /** More keys a part's answer carries beside `fields` and `note` (S3: what came from the owner, the alt texts). */
448
+ readonly extra?: FieldsSchemaExtra;
449
+ }
450
+ /**
451
+ * A surface's own keys on every part — counted against the part's budget, so a type is split with room for them. `keys`
452
+ * names the most a part carries (the split reserves that many); `build` gives a part's own (it may give fewer, e.g. only
453
+ * the first part asks for the photos' alt texts). Every built key is required, as every key is.
454
+ */
455
+ interface FieldsSchemaExtra {
456
+ readonly keys: ReadonlyArray<string>;
457
+ readonly build: (handles: ReadonlyArray<string>, part: number) => Readonly<Record<string, JsonSchema>>;
432
458
  }
433
459
  interface FieldsSchemas {
434
460
  /** One strict format per request. Empty when nothing is writable. */
@@ -531,6 +557,212 @@ interface FieldEditsOutcome {
531
557
  declare function fieldsNamedIn(sentence: string, fields: ReadonlyArray<AssistField>): string[];
532
558
  declare function applyFieldEdits(values: ContentRecord, edits: ReadonlyArray<FieldEdit>, ctx: FieldEditContext): FieldEditsOutcome;
533
559
 
560
+ /**
561
+ * Surface S3 — photos → content (ai-assist-plan §4 S3, A-D11, R-H7): the owner's photos, uploaded FIRST, become DRAFT
562
+ * items of one content type. One photo = one item unless the owner says they are one item (the first photo is then the
563
+ * main image, the rest the gallery). Each group is read by ONE vision request (`assistRead`, ≤ 6 photos — F8) whose
564
+ * strict format is the type's writable fields (`fieldsJsonSchema`) plus which values came from the owner's notes and an
565
+ * alt text per photo. Every value is then tagged by where it came from: SEEN in the photo, FROM YOU (the owner's notes),
566
+ * or NEEDS YOU (left empty: a fact the owner gives — a price, a place, a date, a phone — or a required field nothing
567
+ * showed). The photos go into the type's picture fields by code, never by the model. Nothing is written by a read: the
568
+ * owner reviews the drafts and creates them (a Run, with Undo).
569
+ */
570
+ declare enum PhotoGrouping {
571
+ /** One item per photo. */
572
+ Each = "each",
573
+ /** Every photo is ONE item: the first the main image, the rest its gallery. */
574
+ One = "one"
575
+ }
576
+ /** The most photos one S3 turn takes (the board: "Up to 20 at a time"). */
577
+ declare const MAX_ASSIST_PHOTOS = 20;
578
+ /** The most photos one vision request reads (F8 — the reading's own limit); a larger group's others go to its gallery unread. */
579
+ declare const PHOTOS_PER_READ = 6;
580
+ /** A photo the owner uploaded for the turn: its storage key, its address and the file's name. */
581
+ interface AssistPhoto {
582
+ readonly key: string;
583
+ readonly url: string;
584
+ readonly name: string;
585
+ }
586
+ /** One future item: its handle (`p1`), its photos, and how many of them its read looks at. */
587
+ interface PhotoGroup {
588
+ readonly handle: string;
589
+ readonly photos: ReadonlyArray<AssistPhoto>;
590
+ readonly read: number;
591
+ }
592
+ declare const PHOTO_GROUP_HANDLE_PREFIX = "p";
593
+ declare const photoGroupHandle: (index: number) => string;
594
+ /** The groups the photos make — one per photo, or one for all. */
595
+ declare function groupPhotos(photos: ReadonlyArray<AssistPhoto>, grouping: PhotoGrouping): PhotoGroup[];
596
+ /** How many vision requests a turn makes — what its estimate multiplies. */
597
+ declare const photoReadCount: (photos: number, grouping: PhotoGrouping) => number;
598
+ /** Where a draft's photos go: the main picture (the type's image role, else its first picture field) and its gallery. */
599
+ interface PhotoSlots {
600
+ readonly main: string | null;
601
+ readonly gallery: string | null;
602
+ }
603
+ declare function photoSlots(schema: ContentTypeSchema): PhotoSlots;
604
+ /** A type the photos can become: it has a picture field to put them in. */
605
+ declare const takesPhotos: (schema: ContentTypeSchema) => boolean;
606
+ /**
607
+ * "Make them into" — the type suggested for the photos: one the sentence names (its name or label, either number), else
608
+ * the first type that takes photos. Null when none does (the owner adds a picture field first).
609
+ */
610
+ declare function suggestPhotoType(schemas: ReadonlyArray<ContentTypeSchema>, sentence?: string): string | null;
611
+ interface PhotoBriefField {
612
+ readonly handle: string;
613
+ readonly label: string;
614
+ readonly kind: AssistFieldKind;
615
+ readonly required: boolean;
616
+ readonly options?: ReadonlyArray<string>;
617
+ /** A multiLang field: written in the brief's locale only. */
618
+ readonly multiLang?: boolean;
619
+ }
620
+ interface PhotosFocus {
621
+ readonly scope: AssistScope;
622
+ readonly type: {
623
+ readonly name: string;
624
+ readonly label: string;
625
+ };
626
+ readonly grouping: PhotoGrouping;
627
+ /** The groups — on a read request, only the one being read. */
628
+ readonly groups: ReadonlyArray<{
629
+ readonly handle: string;
630
+ readonly photos: number;
631
+ readonly read: number;
632
+ }>;
633
+ /** What the model may write, per draft. */
634
+ readonly fields: ReadonlyArray<PhotoBriefField>;
635
+ readonly titleHandle: string | null;
636
+ /** The fields the photos are put in by code — named so the model knows they are filled. */
637
+ readonly pictures: {
638
+ readonly main: string | null;
639
+ readonly gallery: string | null;
640
+ };
641
+ }
642
+ interface PhotosAround {
643
+ /** Items of the type already in the studio — examples of its voice, never something to copy. */
644
+ readonly siblings: ReadonlyArray<ItemSummary>;
645
+ }
646
+ type PhotosBrief = Brief<PhotosFocus, PhotosAround>;
647
+ interface PhotosBriefContext {
648
+ readonly locale: string;
649
+ readonly grouping: PhotoGrouping;
650
+ readonly photos: ReadonlyArray<AssistPhoto>;
651
+ readonly siblings?: ReadonlyArray<ContentRecord>;
652
+ readonly owner?: string | null;
653
+ readonly memory?: ReadonlyArray<string>;
654
+ }
655
+ interface SummarizedPhotos {
656
+ readonly brief: PhotosBrief;
657
+ readonly handles: HandleMap;
658
+ readonly groups: ReadonlyArray<PhotoGroup>;
659
+ readonly slots: PhotoSlots;
660
+ }
661
+ /** S3's brief: the type's writable fields (`f.<key>`), the groups (`p<n>`), the picture fields, siblings as voice. */
662
+ declare function summarizePhotos(schema: ContentTypeSchema, ctx: PhotosBriefContext): SummarizedPhotos;
663
+ /** The brief ONE read is sent: the same brief, its focus narrowed to the group being read (`p<n>`). */
664
+ declare function photoGroupBrief(brief: PhotosBrief, handle: string): PhotosBrief;
665
+ declare enum PhotoAnswerKey {
666
+ FromYou = "fromYou",
667
+ Alt = "alt"
668
+ }
669
+ /** One read's format: the type's writable fields (split as any fields request) + which came from the notes + the alt texts. */
670
+ declare function photoDraftJsonSchema(schema: ContentTypeSchema, options: {
671
+ readonly locale: string;
672
+ readonly read: number;
673
+ }): FieldsSchemas;
674
+ /** One read's answer, its parts joined. */
675
+ interface PhotoDraftAnswer {
676
+ readonly edits: ReadonlyArray<FieldEdit>;
677
+ readonly fromYou: ReadonlyArray<string>;
678
+ readonly alt: ReadonlyArray<string>;
679
+ readonly note: string;
680
+ }
681
+ declare function decodePhotoDraftAnswers(answers: ReadonlyArray<unknown>): PhotoDraftAnswer;
682
+ /** Where a draft's value came from — what the review card says beside it. */
683
+ declare enum ValueSource {
684
+ /** Visible in the photo. */
685
+ Seen = "seen",
686
+ /** The owner's own words — the notes, or a value typed at review. */
687
+ FromYou = "fromYou",
688
+ /** Left empty: a fact the owner gives, or a required field nothing showed. */
689
+ NeedsYou = "needsYou",
690
+ /** Left empty, and nothing asks for it (an optional field the photos did not answer). */
691
+ Empty = "empty"
692
+ }
693
+ interface DraftValue {
694
+ readonly handle: string;
695
+ readonly key: string;
696
+ readonly label: string;
697
+ readonly kind: AssistFieldKind;
698
+ /** Readable, like a change's `after`; null when empty. */
699
+ readonly value: BriefValue;
700
+ readonly source: ValueSource;
701
+ readonly locale?: string;
702
+ readonly never?: NeverWriteReason;
703
+ }
704
+ interface PhotoDraft {
705
+ /** The group's handle (`p1`) — what the owner picks at review. */
706
+ readonly group: string;
707
+ readonly photos: ReadonlyArray<AssistPhoto>;
708
+ /** An alt text per photo read (the rest of a large group's gallery has none). */
709
+ readonly alt: ReadonlyArray<string>;
710
+ /** The title field's value, '' when none. */
711
+ readonly title: string;
712
+ /** The item as it will be stored — the fields written and the photos in their fields; never `isPublished`, never `info`. */
713
+ readonly values: ContentRecord;
714
+ /** Every field of the type but the picture fields, in schema order, with its source. */
715
+ readonly fields: ReadonlyArray<DraftValue>;
716
+ /** The model's line for the owner. */
717
+ readonly note: string;
718
+ }
719
+ interface PhotoDraftContext {
720
+ readonly schema: ContentTypeSchema;
721
+ readonly handles: HandleMap;
722
+ readonly locale: string;
723
+ readonly group: PhotoGroup;
724
+ /** The owner's notes (may be empty). */
725
+ readonly sentence?: string;
726
+ readonly words?: AssistWordContext;
727
+ }
728
+ interface PhotoDraftOutcome {
729
+ readonly ok: boolean;
730
+ readonly draft: PhotoDraft | null;
731
+ readonly issues: ReadonlyArray<AssistIssue>;
732
+ }
733
+ /**
734
+ * One read's answer → its draft, by the SAME check every fields turn runs (`applyFieldEdits` on an empty item, the fact
735
+ * gate included) plus the alt texts and the owner's-notes claim. All or none: an issue refuses the draft (the read is
736
+ * re-asked once with the issues). The photos are placed by code: main = the first, gallery = the rest.
737
+ */
738
+ declare function draftFromPhotos(answer: PhotoDraftAnswer, ctx: PhotoDraftContext): PhotoDraftOutcome;
739
+ /** The longest value an owner types for every draft at once. */
740
+ declare const OWNER_FILL_MAX_CHARS = 500;
741
+ /** The fields the owner may type ONE value into for every draft at review: plain text, never a secret, relation or picture. */
742
+ declare function ownerFillFields(schema: ContentTypeSchema): AssistField[];
743
+ /** What the server refuses in a review's fill: a field the owner may not fill so, a value that is not one short text. */
744
+ declare function ownerFillIssues(schema: ContentTypeSchema, fill: unknown): AssistIssue[];
745
+ /**
746
+ * The owner's "for all" values put into a draft — only where the draft holds nothing (a value the photos gave is never
747
+ * overwritten); a multiLang field gets the locale's key. The value is the owner's: FROM YOU. Unknown keys are ignored
748
+ * (the server refuses them first, `ownerFillIssues`).
749
+ */
750
+ declare function withOwnerFill(draft: PhotoDraft, fill: Readonly<Record<string, string>>, ctx: {
751
+ readonly schema: ContentTypeSchema;
752
+ readonly locale: string;
753
+ }): PhotoDraft;
754
+ /** `info.source` of an item a Run wrote (plan §3e) — what the list's "AI draft" pill and the Run's Undo read. */
755
+ declare const AI_DRAFT_SOURCE = "ai";
756
+ /** The stamp a Run writes into a draft's `info` — `draftKey` makes a resumed write find what it already wrote. */
757
+ interface AiDraftStamp {
758
+ readonly source: typeof AI_DRAFT_SOURCE;
759
+ readonly assistTurn: string;
760
+ readonly draftKey: string;
761
+ }
762
+ declare const aiDraftStamp: (turnId: string, group: string) => AiDraftStamp;
763
+ /** An item a Run wrote that is still unpublished — the list shows it as an "AI draft". */
764
+ declare function isAiDraft(item: unknown): boolean;
765
+
534
766
  /**
535
767
  * Surface S1 (the builder, this page), family `style` (ai-assist-plan §4, AI2b; ai-session-panel-plan `setStyle` /
536
768
  * `setScheme`): an element takes ANOTHER of the look's element styles, a section (or a box) another colour scheme — never
@@ -1178,6 +1410,10 @@ interface AssistTurnRequest {
1178
1410
  readonly name: string;
1179
1411
  readonly route: string;
1180
1412
  };
1413
+ /** S3: the photos the owner uploaded through `AssistRouteKey.Photos` (1–20), in the order given. */
1414
+ readonly photos?: ReadonlyArray<AssistPhoto>;
1415
+ /** S3: one item per photo, or one item for all. */
1416
+ readonly grouping?: PhotoGrouping;
1181
1417
  }
1182
1418
  /** What a turn proposes, per family: a field's value (`fields`), a part's words (`words`), an element's style or a section's scheme (`style`). */
1183
1419
  type AssistEdit = FieldEdit | WordEdit | StyleEdit | SchemeEdit | SizeEdit | SectionEdit | SiteLookEdit;
@@ -1229,11 +1465,59 @@ interface AssistTurn {
1229
1465
  readonly credits?: number;
1230
1466
  /** ISO time. */
1231
1467
  readonly createdAt: string;
1468
+ /** S3: the type the drafts are of. */
1469
+ readonly contentType?: string;
1470
+ /** S3: the photos' groups read so far, of how many — "Reading photo 4 of 6". */
1471
+ readonly progress?: AssistTurnProgress;
1472
+ /** S3: one draft per group, as read — nothing written until the owner runs them. */
1473
+ readonly drafts?: ReadonlyArray<PhotoDraft>;
1474
+ /** A Run surface: what "Create N drafts" wrote, and its Undo. */
1475
+ readonly run?: AssistRunView;
1476
+ }
1477
+ interface AssistTurnProgress {
1478
+ readonly done: number;
1479
+ readonly of: number;
1480
+ }
1481
+ /** A Run's life (plan §3e `Run`): written by the runner (resumable), undone by it. */
1482
+ declare enum AssistRunStatus {
1483
+ Writing = "writing",
1484
+ Written = "written",
1485
+ Undoing = "undoing",
1486
+ Undone = "undone",
1487
+ Failed = "failed"
1488
+ }
1489
+ declare const isRunBusy: (status: AssistRunStatus | undefined) => boolean;
1490
+ /** `POST …/turns/:turnId/run` — which drafts to create (group handles) and the owner's values for every draft ("City for all"). */
1491
+ interface AssistRunRequest {
1492
+ readonly picks: ReadonlyArray<string>;
1493
+ readonly fill?: Readonly<Record<string, string>>;
1232
1494
  }
1495
+ /** A draft Undo kept, and why — said to the owner (`edited` or `published`: generation-core's `KeptReason`, one vocabulary with a site build's Undo). */
1496
+ interface KeptDraft {
1497
+ readonly id: string;
1498
+ readonly label: string;
1499
+ readonly reason: KeptReason;
1500
+ }
1501
+ interface AssistRunView {
1502
+ readonly status: AssistRunStatus;
1503
+ /** Items written (ids, in pick order). */
1504
+ readonly items: ReadonlyArray<string>;
1505
+ /** Undo: how many drafts it removed, the ones it kept, how many uploads went with them. */
1506
+ readonly removed?: number;
1507
+ readonly kept?: ReadonlyArray<KeptDraft>;
1508
+ readonly photosRemoved?: number;
1509
+ readonly error?: string;
1510
+ }
1511
+ /** What the server refuses in a run request against the turn's drafts: none, unknown or repeated picks. */
1512
+ declare function validateRunRequest(req: unknown, drafts: ReadonlyArray<PhotoDraft>): AssistIssue[];
1233
1513
  declare enum AssistRouteKey {
1234
1514
  Turns = "turns",
1235
1515
  Turn = "turn",
1236
- Session = "session"
1516
+ Session = "session",
1517
+ /** S3: one photo up, through the normal upload path, marked as this flow's (Undo may remove it). */
1518
+ Photos = "photos",
1519
+ Run = "run",
1520
+ Undo = "undo"
1237
1521
  }
1238
1522
  /** The path templates, `:param` filled by `assistPath` — neither side hand-types a URL. */
1239
1523
  declare const ASSIST_ROUTES: Readonly<Record<AssistRouteKey, string>>;
@@ -1293,5 +1577,5 @@ declare function turnLocale(sentence: string, fields: ReadonlyArray<AssistField>
1293
1577
  /** The language's own name in the admin's language (`en` → "English" / "אנגלית"). */
1294
1578
  declare const languageName: (locale: string, uiLang: string) => string;
1295
1579
 
1296
- export { AROUND_ITEMS_MAX, AROUND_TEXT_CHARS, ASK_SECTION_PATTERNS, ASK_STYLE_SETS, ASSIST_MODEL_AUTO, ASSIST_POLL_MS, ASSIST_ROUTES, AssistBriefError, AssistBudgetError, AssistFieldKind, AssistIssueCode, AssistPathError, AssistPermission, AssistRefusalCode, AssistRouteKey, AssistScope, AssistStep, AssistSurface, AssistTurnStatus, BOOLEAN_FALSE, BOOLEAN_TRUE, CommitKind, EditFamily, FIELDS_PER_PART, FIELD_HANDLE_PREFIX, FOCUS_TEXT_CHARS, FieldsAnswerKey, ItemSuggestionKind, LOCALE_NAME_LANGUAGES, LOOK_AXES, LOOK_AXIS_LABELS, LOOK_KEEP, LookAnswerKey, LookAxis, LookButtons, MAX_ASSIST_PROPERTIES, MAX_ROUTE_PROPERTIES, MAX_SENTENCE_CHARS, MEMORY_TURNS, MODE_LABELS, NEW_TARGET, NONE_TEXT, NeverWriteReason, PAGE_WORD_SLOTS, PageChangeOp, PagePartKind, PageSuggestionKind, RouteAnswerKey, SECTION_START, SHORTEN_FROM_CHARS, SHORTEN_HEADING_FROM_CHARS, SHORTEN_TEXT_FROM_CHARS, SIBLING_HANDLE_PREFIX, SURFACES, SectionChangeKind, SectionsAnswerKey, StyleAnswerKey, SurfaceStatus, WORDS_PER_PART, WordsAnswerKey, adjustAxesOf, applyFieldEdits, applyLookEdits, applyPageEdits, applySectionEdits, applyStyleEdits, applyWordEdits, askSectionPatternNames, askableStyles, assertAssistBudget, assistBudgetIssues, assistFactIssues, assistFields, assistPath, assistSession, assistSessionKey, builtSurfaces, clipText, commitOf, containsHtml, decodeFieldsAnswers, decodeLookAnswers, decodeSectionsAnswers, decodeStyleAnswers, decodeWordsAnswers, escapeText, fieldHandle, fieldsJsonSchema, fieldsNamedIn, isEmptyFieldValue, isPlainRecord, isSchemeEdit, isSectionEdit, isSessionOf, isSiteLookEdit, isSizeEdit, isStyleEdit, isTerminalTurn, isWritable, itemLocales, itemSuggestions, languageName, lookAxisValue, lookHex, lookJsonSchema, lookNames, memoryLine, namedLocale, pageLooks, pageSuggestions, pageWriteLocale, paragraphsToRichText, primaryLocale, readFieldValue, readLocaleValues, readRoute, readableWords, resolveHandle, richTextParagraphs, routeJsonSchema, sectionLabel, sectionPatternOf, sectionsJsonSchema, serializedBaselineStyles, sessionMemory, styleJsonSchema, summarizeItem, summarizeLook, summarizePage, surfacePermissions, surfaceSpec, titleField, turnLocale, unknownHandles, validateTurnRequest, wordsJsonSchema };
1297
- export type { AssistChange, AssistEdit, AssistField, AssistIssue, AssistMemoryLine, AssistModelChoice, AssistRoute, AssistSession, AssistTarget, AssistTurn, AssistTurnAccepted, AssistTurnRefusal, AssistTurnRequest, AssistWordContext, BaselineStyles, Brief, BriefRules, BriefValue, ContentControllerDef, ContentPropertyDef, ContentRecord, ContentTypeSchema, FieldChange, FieldEdit, FieldEditContext, FieldEditsOutcome, FieldsSchemaOptions, FieldsSchemas, HandleMap, HandleResolution, HandleTarget, ItemAround, ItemBrief, ItemBriefContext, ItemBriefField, ItemFocus, ItemSuggestion, ItemSummary, LookEditsOutcome, LookMap, LookSchemas, LookSummary, LookTarget, NeverWrite, NodeStyleEdit, PageAround, PageBrief, PageBriefContext, PageChange, PageEdit, PageEditContext, PageEditsOutcome, PageFocus, PageLook, PagePart, PageSectionSummary, PageSuggestion, SchemeEdit, SectionAdd, SectionChange, SectionEdit, SectionEditContext, SectionEditsOutcome, SectionMap, SectionMove, SectionRemove, SectionSwap, SectionTarget, SiteLookChange, SiteLookEdit, SizeEdit, StyleChange, StyleEdit, StyleEditContext, StyleEditsOutcome, StyleSchemas, SummarizedItem, SummarizedPage, SurfaceSpec, WalkedLook, WordChange, WordEdit, WordEditContext, WordEditsOutcome, WordsSchemas, WrittenWords };
1580
+ export { AI_DRAFT_SOURCE, AROUND_ITEMS_MAX, AROUND_TEXT_CHARS, ASK_SECTION_PATTERNS, ASK_STYLE_SETS, ASSIST_MODEL_AUTO, ASSIST_POLL_MS, ASSIST_ROUTES, AssistBriefError, AssistBudgetError, AssistFieldKind, AssistIssueCode, AssistPathError, AssistPermission, AssistRefusalCode, AssistRouteKey, AssistRunStatus, AssistScope, AssistStep, AssistSurface, AssistTurnStatus, BOOLEAN_FALSE, BOOLEAN_TRUE, CommitKind, EditFamily, FIELDS_PER_PART, FIELD_HANDLE_PREFIX, FOCUS_TEXT_CHARS, FieldsAnswerKey, ItemSuggestionKind, LOCALE_NAME_LANGUAGES, LOOK_AXES, LOOK_AXIS_LABELS, LOOK_KEEP, LookAnswerKey, LookAxis, LookButtons, MAX_ASSIST_PHOTOS, MAX_ASSIST_PROPERTIES, MAX_ROUTE_PROPERTIES, MAX_SENTENCE_CHARS, MEMORY_TURNS, MODE_LABELS, NEW_TARGET, NONE_TEXT, NeverWriteReason, OWNER_FILL_MAX_CHARS, PAGE_WORD_SLOTS, PHOTOS_PER_READ, PHOTO_GROUP_HANDLE_PREFIX, PageChangeOp, PagePartKind, PageSuggestionKind, PhotoAnswerKey, PhotoGrouping, RouteAnswerKey, SECTION_START, SHORTEN_FROM_CHARS, SHORTEN_HEADING_FROM_CHARS, SHORTEN_TEXT_FROM_CHARS, SIBLING_HANDLE_PREFIX, SURFACES, SectionChangeKind, SectionsAnswerKey, StyleAnswerKey, SurfaceStatus, ValueSource, WORDS_PER_PART, WordsAnswerKey, adjustAxesOf, aiDraftStamp, applyFieldEdits, applyLookEdits, applyPageEdits, applySectionEdits, applyStyleEdits, applyWordEdits, askSectionPatternNames, askableStyles, assertAssistBudget, assistBudgetIssues, assistFactIssues, assistFields, assistPath, assistSession, assistSessionKey, builtSurfaces, clipText, commitOf, containsHtml, decodeFieldsAnswers, decodeLookAnswers, decodePhotoDraftAnswers, decodeSectionsAnswers, decodeStyleAnswers, decodeWordsAnswers, draftFromPhotos, escapeText, fieldHandle, fieldsJsonSchema, fieldsNamedIn, groupPhotos, isAiDraft, isEmptyFieldValue, isPlainRecord, isRunBusy, isSchemeEdit, isSectionEdit, isSessionOf, isSiteLookEdit, isSizeEdit, isStyleEdit, isTerminalTurn, isWritable, itemLocales, itemSuggestions, languageName, lookAxisValue, lookHex, lookJsonSchema, lookNames, memoryLine, namedLocale, ownerFillFields, ownerFillIssues, pageLooks, pageSuggestions, pageWriteLocale, paragraphsToRichText, photoDraftJsonSchema, photoGroupBrief, photoGroupHandle, photoReadCount, photoSlots, primaryLocale, readFieldValue, readLocaleValues, readRoute, readableWords, resolveHandle, richTextParagraphs, routeJsonSchema, sectionLabel, sectionPatternOf, sectionsJsonSchema, serializedBaselineStyles, sessionMemory, styleJsonSchema, suggestPhotoType, summarizeItem, summarizeLook, summarizePage, summarizePhotos, surfacePermissions, surfaceSpec, surfaceUndoPermissions, takesPhotos, titleField, turnLocale, unknownHandles, validateRunRequest, validateTurnRequest, withOwnerFill, wordsJsonSchema };
1581
+ export type { AiDraftStamp, AssistChange, AssistEdit, AssistField, AssistIssue, AssistMemoryLine, AssistModelChoice, AssistPhoto, AssistRoute, AssistRunRequest, AssistRunView, AssistSession, AssistTarget, AssistTurn, AssistTurnAccepted, AssistTurnProgress, AssistTurnRefusal, AssistTurnRequest, AssistWordContext, BaselineStyles, Brief, BriefRules, BriefValue, ContentControllerDef, ContentPropertyDef, ContentRecord, ContentTypeSchema, DraftValue, FieldChange, FieldEdit, FieldEditContext, FieldEditsOutcome, FieldsSchemaExtra, FieldsSchemaOptions, FieldsSchemas, HandleMap, HandleResolution, HandleTarget, ItemAround, ItemBrief, ItemBriefContext, ItemBriefField, ItemFocus, ItemSuggestion, ItemSummary, KeptDraft, LookEditsOutcome, LookMap, LookSchemas, LookSummary, LookTarget, NeverWrite, NodeStyleEdit, PageAround, PageBrief, PageBriefContext, PageChange, PageEdit, PageEditContext, PageEditsOutcome, PageFocus, PageLook, PagePart, PageSectionSummary, PageSuggestion, PhotoBriefField, PhotoDraft, PhotoDraftAnswer, PhotoDraftContext, PhotoDraftOutcome, PhotoGroup, PhotoSlots, PhotosAround, PhotosBrief, PhotosBriefContext, PhotosFocus, SchemeEdit, SectionAdd, SectionChange, SectionEdit, SectionEditContext, SectionEditsOutcome, SectionMap, SectionMove, SectionRemove, SectionSwap, SectionTarget, SiteLookChange, SiteLookEdit, SizeEdit, StyleChange, StyleEdit, StyleEditContext, StyleEditsOutcome, StyleSchemas, SummarizedItem, SummarizedPage, SummarizedPhotos, SurfaceSpec, WalkedLook, WordChange, WordEdit, WordEditContext, WordEditsOutcome, WordsSchemas, WrittenWords };