@supa-media/tex-contract 0.0.0-stage → 0.2.7

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 (212) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -2
  3. package/package.json +16 -4
  4. package/texContract/aboutLines.cjs +117 -0
  5. package/texContract/aboutLines.d.cts +14 -0
  6. package/texContract/aboutNoteLimits.cjs +41 -0
  7. package/texContract/aboutNoteLimits.d.cts +5 -0
  8. package/texContract/actionManual.cjs +104 -0
  9. package/texContract/activityHint.cjs +40 -0
  10. package/texContract/activityHint.d.cts +4 -0
  11. package/texContract/asks.cjs +16 -0
  12. package/texContract/asks.d.cts +6 -0
  13. package/texContract/asksToFile.cjs +20 -0
  14. package/texContract/asksToFile.d.cts +2 -0
  15. package/texContract/attention.cjs +138 -0
  16. package/texContract/attention.d.cts +20 -0
  17. package/texContract/browserHandback.cjs +13 -0
  18. package/texContract/browserHandback.d.cts +3 -0
  19. package/texContract/browserOwner.cjs +31 -0
  20. package/texContract/browserOwner.d.cts +2 -0
  21. package/texContract/bytes.cjs +12 -0
  22. package/texContract/chatHistoryPath.cjs +38 -0
  23. package/texContract/chatHistoryPath.d.cts +5 -0
  24. package/texContract/chatLedger.cjs +91 -0
  25. package/texContract/chatLedger.d.cts +21 -0
  26. package/texContract/computerTool.cjs +102 -0
  27. package/texContract/computerTool.d.cts +16 -0
  28. package/texContract/consentYes.cjs +22 -0
  29. package/texContract/consentYes.d.cts +5 -0
  30. package/texContract/contextGateway.cjs +52 -0
  31. package/texContract/contextGateway.d.cts +19 -0
  32. package/texContract/deskEligible.cjs +20 -0
  33. package/texContract/deskEligible.d.cts +3 -0
  34. package/texContract/downloads.cjs +129 -0
  35. package/texContract/downloads.d.cts +15 -0
  36. package/texContract/egressLedger.cjs +114 -0
  37. package/texContract/egressLedger.d.cts +14 -0
  38. package/texContract/emailRead.cjs +38 -0
  39. package/texContract/emailRead.d.cts +5 -0
  40. package/texContract/eventWords.cjs +35 -0
  41. package/texContract/eventWords.d.cts +4 -0
  42. package/texContract/fileParts.cjs +43 -0
  43. package/texContract/fileParts.d.cts +6 -0
  44. package/texContract/fileTables.cjs +243 -0
  45. package/texContract/fileWords.cjs +169 -0
  46. package/texContract/folded.cjs +16 -0
  47. package/texContract/folded.d.cts +3 -0
  48. package/texContract/googleAiAccess.cjs +12 -0
  49. package/texContract/googleAiAccess.d.cts +2 -0
  50. package/texContract/graphWires.cjs +18 -0
  51. package/texContract/graphWires.d.cts +5 -0
  52. package/texContract/groupSession.cjs +28 -0
  53. package/texContract/groupSession.d.cts +7 -0
  54. package/texContract/guestNames.cjs +136 -0
  55. package/texContract/guestNames.d.cts +35 -0
  56. package/texContract/heard.cjs +19 -0
  57. package/texContract/heard.d.cts +4 -0
  58. package/texContract/heldOffer.cjs +57 -0
  59. package/texContract/heldOffer.d.cts +8 -0
  60. package/texContract/helperCallers.cjs +29 -0
  61. package/texContract/helperCallers.d.cts +4 -0
  62. package/texContract/identity.cjs +179 -0
  63. package/texContract/identity.d.cts +8 -0
  64. package/texContract/jobLogEntries.cjs +93 -0
  65. package/texContract/jobLogEntries.d.cts +12 -0
  66. package/texContract/judgedActions.cjs +20 -0
  67. package/texContract/judgedActions.d.cts +4 -0
  68. package/texContract/labSandboxGate.cjs +63 -0
  69. package/texContract/labSandboxGate.d.cts +9 -0
  70. package/texContract/ledgerReadChars.cjs +4 -0
  71. package/texContract/ledgerReadChars.d.cts +3 -0
  72. package/texContract/mailCheck.cjs +90 -0
  73. package/texContract/mailCheck.d.cts +12 -0
  74. package/texContract/mailEntries.cjs +64 -0
  75. package/texContract/mailEntries.d.cts +13 -0
  76. package/texContract/mailHealth.cjs +60 -0
  77. package/texContract/mailHealth.d.cts +10 -0
  78. package/texContract/notePath.cjs +99 -0
  79. package/texContract/notePath.d.cts +4 -0
  80. package/texContract/noteRunFacts.cjs +136 -0
  81. package/texContract/noteRunFacts.d.cts +32 -0
  82. package/texContract/objectEtag.cjs +84 -0
  83. package/texContract/objectEtag.d.cts +4 -0
  84. package/texContract/objectPlace.cjs +32 -0
  85. package/texContract/objectPlace.d.cts +5 -0
  86. package/texContract/pageJobs.cjs +226 -0
  87. package/texContract/pageJobs.d.cts +13 -0
  88. package/texContract/pdfLinks.cjs +135 -0
  89. package/texContract/pdfLinks.d.cts +4 -0
  90. package/texContract/personHub.cjs +38 -0
  91. package/texContract/personHub.d.cts +5 -0
  92. package/texContract/personNameText.cjs +18 -0
  93. package/texContract/personNameText.d.cts +3 -0
  94. package/texContract/pinnedContext.cjs +12 -0
  95. package/texContract/pinnedContext.d.cts +3 -0
  96. package/texContract/quietHoursWindow.cjs +36 -0
  97. package/texContract/quietHoursWindow.d.cts +3 -0
  98. package/texContract/scopeClamp.cjs +117 -0
  99. package/texContract/scopeClamp.d.cts +5 -0
  100. package/texContract/scopes.cjs +29 -0
  101. package/texContract/scopes.d.cts +7 -0
  102. package/texContract/searchSettings.cjs +54 -0
  103. package/texContract/searchSettings.d.cts +6 -0
  104. package/texContract/settingHabits.cjs +87 -0
  105. package/texContract/settingHabits.d.cts +20 -0
  106. package/texContract/settingsNotes.cjs +217 -0
  107. package/texContract/settingsNotes.d.cts +26 -0
  108. package/texContract/shownEmail.cjs +181 -0
  109. package/texContract/texClients.cjs +53 -0
  110. package/texContract/texClients.d.cts +12 -0
  111. package/texContract/texGraph.cjs +593 -0
  112. package/texContract/texGraph.d.cts +55 -0
  113. package/texContract/texKeys.cjs +100 -0
  114. package/texContract/texKeys.d.cts +13 -0
  115. package/texContract/texOwnSources.cjs +9 -0
  116. package/texContract/texOwnSources.d.cts +3 -0
  117. package/texContract/texStoreNames.cjs +26 -0
  118. package/texContract/texStoreNames.d.cts +12 -0
  119. package/texContract/texStoreWire.cjs +306 -0
  120. package/texContract/texStoreWire.d.cts +32 -0
  121. package/texContract/threadsFold.cjs +75 -0
  122. package/texContract/threadsFold.d.cts +22 -0
  123. package/texContract/toolActions.cjs +253 -0
  124. package/texContract/toolCatalog.cjs +49 -0
  125. package/texContract/toolCatalog.generated.json +90 -0
  126. package/texContract/toolContract.cjs +52 -0
  127. package/texContract/toolContract.d.cts +12 -0
  128. package/texContract/toolShapes.cjs +14 -0
  129. package/texContract/transcription.cjs +101 -0
  130. package/texContract/transcription.d.cts +3 -0
  131. package/texContract/treeJobs.cjs +31 -0
  132. package/texContract/treeJobs.d.cts +3 -0
  133. package/texContract/turnSession.cjs +90 -0
  134. package/texContract/turnSession.d.cts +19 -0
  135. package/texContract/turnWords.cjs +90 -0
  136. package/texContract/turnWords.d.cts +9 -0
  137. package/texContract/uploadImages.cjs +131 -0
  138. package/texContract/uploadImages.d.cts +13 -0
  139. package/texContract/v2Names.cjs +41 -0
  140. package/texContract/v2SearchFetch.cjs +316 -0
  141. package/texContract/v2Translate.cjs +123 -0
  142. package/texContract/vaultTools.cjs +112 -0
  143. package/texContract/vaultTools.d.cts +15 -0
  144. package/texContract/yesWords.cjs +91 -0
  145. package/texShared/argumentCoercion.cjs +93 -0
  146. package/texShared/cellComments.cjs +122 -0
  147. package/texShared/cellComments.d.cts +21 -0
  148. package/texShared/comments.cjs +586 -0
  149. package/texShared/comments.d.cts +115 -0
  150. package/texShared/contentTypes.cjs +85 -0
  151. package/texShared/fileKinds.cjs +123 -0
  152. package/texShared/flags.cjs +124 -0
  153. package/texShared/flags.d.cts +21 -0
  154. package/texShared/folderJobInfo.cjs +301 -0
  155. package/texShared/folderJobInfo.d.cts +40 -0
  156. package/texShared/folderRoles.cjs +512 -0
  157. package/texShared/folderRoles.d.cts +73 -0
  158. package/texShared/githubOidc.ts +98 -0
  159. package/texShared/groupRunQuestions.cjs +98 -0
  160. package/texShared/groupRunQuestions.d.cts +4 -0
  161. package/texShared/inboxFolders.cjs +49 -0
  162. package/texShared/inboxFolders.d.cts +5 -0
  163. package/texShared/ink/drawing.cjs +474 -0
  164. package/texShared/ink/texFigure.cjs +252 -0
  165. package/texShared/ink/texFigure.d.cts +36 -0
  166. package/texShared/ink/texPoses.cjs +180 -0
  167. package/texShared/ink/texPoses.d.cts +20 -0
  168. package/texShared/jobPartEnd.cjs +133 -0
  169. package/texShared/jobPartEnd.d.cts +13 -0
  170. package/texShared/jobResume.cjs +31 -0
  171. package/texShared/jobResume.d.cts +5 -0
  172. package/texShared/jobSplit.cjs +90 -0
  173. package/texShared/jobSplit.d.cts +6 -0
  174. package/texShared/jobStart.cjs +56 -0
  175. package/texShared/jobStart.d.cts +9 -0
  176. package/texShared/mail.cjs +400 -0
  177. package/texShared/mail.d.cts +56 -0
  178. package/texShared/messageAnchors.cjs +38 -0
  179. package/texShared/models/aiKeys.cjs +137 -0
  180. package/texShared/models/aiKeys.d.cts +42 -0
  181. package/texShared/models/aiKeys.json +56 -0
  182. package/texShared/models/creditRest.cjs +269 -0
  183. package/texShared/models/promptBudget.cjs +295 -0
  184. package/texShared/models/promptSections.cjs +29 -0
  185. package/texShared/noteAppLink.cjs +23 -0
  186. package/texShared/notePreview.cjs +219 -0
  187. package/texShared/notePreview.d.cts +21 -0
  188. package/texShared/pages/blocks.cjs +215 -0
  189. package/texShared/pages/cover.cjs +164 -0
  190. package/texShared/pages/css.cjs +181 -0
  191. package/texShared/pages/cssBlocks.cjs +264 -0
  192. package/texShared/pages/draw.cjs +212 -0
  193. package/texShared/pages/drawRich.cjs +232 -0
  194. package/texShared/pages/html.cjs +168 -0
  195. package/texShared/pages/inline.cjs +251 -0
  196. package/texShared/pages/layout.cjs +76 -0
  197. package/texShared/pages/parse.cjs +418 -0
  198. package/texShared/pages/render.cjs +200 -0
  199. package/texShared/pages/skill.cjs +147 -0
  200. package/texShared/pages/skill.d.cts +5 -0
  201. package/texShared/pages/templates.cjs +336 -0
  202. package/texShared/r2Store.cjs +163 -0
  203. package/texShared/remoteImage.cjs +177 -0
  204. package/texShared/routines.cjs +656 -0
  205. package/texShared/routines.d.cts +86 -0
  206. package/texShared/servedListing.cjs +250 -0
  207. package/texShared/servedListing.d.cts +17 -0
  208. package/texShared/sheetCsv.cjs +566 -0
  209. package/texShared/sheetCsv.d.cts +91 -0
  210. package/texShared/storageLayout.cjs +88 -0
  211. package/texShared/storeKeys.cjs +144 -0
  212. package/texShared/toolArguments.cjs +323 -0
@@ -0,0 +1,93 @@
1
+ /**
2
+ * A call's arguments read against a tool's advertised schema, before it is checked (`toolArguments.cjs`). Moved from
3
+ * `apps/mcp/src/tools/advertised.js` (`coercedArguments`, which hands it the live schema), so Tex reads the six's
4
+ * calls against its catalog snapshot the same way.
5
+ */
6
+ "use strict";
7
+
8
+ /**
9
+ * `args` read against `schema`: the arguments with each top-level value a stale client sent as text read
10
+ * as the type the advertised schema gives it, or `args` itself when nothing
11
+ * needs reading.
12
+ *
13
+ * A client builds a call from its own copy of a tool. A property that copy
14
+ * does not show has no type there, so a client such as Claude Code sends
15
+ * what the model wrote as a string: `orient { tools: true }` arrived as
16
+ * `tools: "true"` on 2026-10-15 and was refused. Every non-string argument
17
+ * added after a client connected would be refused the same way, which
18
+ * defeats `orient`'s live tool list (`tools/liveList.js`).
19
+ *
20
+ * Narrow on purpose. Only a top-level string, only where the schema's type
21
+ * has no `string` in it (so a path or a note body is never reinterpreted),
22
+ * and only text that is exactly that type: `true`/`false`, a whole number
23
+ * for an integer, a finite number, or JSON that parses to an object or an
24
+ * array. Anything else is left as sent, and `toolArgumentRefusal` refuses it
25
+ * exactly as before; the result is validated in full either way.
26
+ */
27
+ function coercedBySchema(schema, args) {
28
+ if (!args || typeof args !== "object" || Array.isArray(args)) return args;
29
+ const properties = schema?.properties;
30
+ if (!properties) return args;
31
+ const required = new Set(Array.isArray(schema.required) ? schema.required : []);
32
+ let out = args;
33
+ for (const [key, value] of Object.entries(args)) {
34
+ if (typeof value !== "string" || !Object.hasOwn(properties, key)) continue;
35
+ if (!required.has(key) && blankIsAbsent(key, properties[key], value)) {
36
+ if (out === args) out = { ...args };
37
+ delete out[key];
38
+ continue;
39
+ }
40
+ const read = readAs(properties[key]?.type, value);
41
+ if (read === undefined) continue;
42
+ if (out === args) out = { ...args };
43
+ out[key] = read;
44
+ }
45
+ return out;
46
+ }
47
+
48
+ /**
49
+ * Strings a blank never sets: a mailbox, the person's words, the etag a write read, an orient mark. None has a
50
+ * meaning as `""`. A blank `context` (or `source_context`, `destination_context`) is not here: it is refused, since
51
+ * serving the connected workspace instead is the quiet version of writing into the wrong one
52
+ * (`test/crossContext/orientation.test.mjs`).
53
+ */
54
+ const BLANK_MEANS_UNSET = new Set(["mailbox", "person_said", "expected_etag", "since"]);
55
+
56
+ /**
57
+ * An optional argument sent blank, which a client that fills every field it is shown sends for each one it means
58
+ * to leave out (Grok, 2026-11-25: `url: ""` beside `data`, `tools: ""`, `insert: ""`). A blank is read as absent
59
+ * only where it can mean nothing else: a property whose type has no string in it, one whose `enum` has no `""`,
60
+ * and the strings in `BLANK_MEANS_UNSET`. A blank note body, path or name is left as sent, so a
61
+ * cleared field (set_area's `whose: ""`) still clears.
62
+ */
63
+ function blankIsAbsent(key, property, text) {
64
+ if (text.trim() !== "") return false;
65
+ if (BLANK_MEANS_UNSET.has(key)) return true;
66
+ const types = Array.isArray(property?.type) ? property.type : [property?.type];
67
+ if (property?.type !== undefined && !types.includes("string")) return true;
68
+ return Array.isArray(property?.enum) && !property.enum.includes(text);
69
+ }
70
+
71
+ /** `text` as one of `type`'s non-string types, or `undefined` when it is not one. */
72
+ function readAs(type, text) {
73
+ const types = Array.isArray(type) ? type : [type];
74
+ if (types.includes("string") || types.includes(undefined)) return undefined;
75
+ for (const each of types) {
76
+ if (each === "boolean" && (text === "true" || text === "false")) return text === "true";
77
+ if (each === "integer" && /^-?\d{1,15}$/.test(text)) return Number(text);
78
+ if (each === "number" && /^-?\d+(\.\d+)?$/.test(text)) return Number(text);
79
+ if (each === "object" || each === "array") {
80
+ let parsed;
81
+ try {
82
+ parsed = JSON.parse(text);
83
+ } catch {
84
+ continue;
85
+ }
86
+ const isArray = Array.isArray(parsed);
87
+ if (each === "array" ? isArray : parsed !== null && typeof parsed === "object" && !isArray) return parsed;
88
+ }
89
+ }
90
+ return undefined;
91
+ }
92
+
93
+ module.exports = { coercedBySchema };
@@ -0,0 +1,122 @@
1
+ /**
2
+ * Comments on one cell of a sheet, kept in the sheet's own file.
3
+ *
4
+ * A sheet is a `.csv` (`apps/mcp/src/sheets/csv.js`), and a CSV cell cannot
5
+ * hold the HTML markers a note's comments use. So a sheet keeps its threads in
6
+ * one column of its own, typed `comments` in the header (`comments:comments`),
7
+ * which the grid never draws. Each row's cell in that column holds the threads
8
+ * on that row's cells, in exactly the log a note's ` ```comments ` block holds
9
+ * (`comments.cjs`), with the column's name where a note keeps the quoted words:
10
+ *
11
+ * k7f2 "In a group"
12
+ * - 2026-11-27T07:30:12Z @seyi: @Tex can Tex read files sent in an SMS group?
13
+ * - 2026-11-27T07:30:20Z Tex: No, so this cell now says so.
14
+ *
15
+ * Decided by the owner, 2026-11-27: a column rather than the header or a file
16
+ * beside the sheet, because rows have no stable id and a row's threads must
17
+ * move with it when rows are sorted, inserted or deleted, and because the file
18
+ * is the whole truth (docs/decisions/sheets.md).
19
+ *
20
+ * Every function here works on one cell's text and returns the cell's new
21
+ * text, by wrapping it in a comments block and handing it to `comments.cjs`,
22
+ * so the two formats can never drift apart.
23
+ */
24
+
25
+ "use strict";
26
+
27
+ const comments = require("./comments.cjs");
28
+
29
+ /** The column type a sheet's comments column carries. */
30
+ const COMMENTS_TYPE = "comments";
31
+ /** The header a sheet gets for its first comment: a column called comments, typed comments. */
32
+ const COMMENTS_COLUMN = "comments";
33
+
34
+ function clean(cell) {
35
+ return String(cell ?? "")
36
+ .replace(/\r\n?/g, "\n")
37
+ .replace(/^\n+|\n+$/g, "");
38
+ }
39
+
40
+ /** The cell's text as a note's comments block, or "" for an empty cell. */
41
+ function wrap(cell) {
42
+ const body = clean(cell);
43
+ return body === "" ? "" : `\`\`\`comments\n${body}\n\`\`\`\n`;
44
+ }
45
+
46
+ /** The block's body again, as the cell keeps it. */
47
+ function unwrap(text) {
48
+ const block = comments.findBlock(text);
49
+ if (block === null) return "";
50
+ return clean(text.slice(block.bodyStart, block.bodyEnd));
51
+ }
52
+
53
+ /** The threads in one comments cell, oldest first. Each thread's `quote` is the column it is on. */
54
+ function cellThreads(cell) {
55
+ const text = wrap(cell);
56
+ return text === "" ? [] : comments.parseComments(text).threads;
57
+ }
58
+
59
+ /** A thread id not used anywhere in `cells` (every comments cell of the sheet). */
60
+ function newCellThreadId(cells, random) {
61
+ const all = (Array.isArray(cells) ? cells : []).map(clean).filter((cell) => cell !== "");
62
+ return comments.newThreadId(wrap(all.join("\n\n")), random);
63
+ }
64
+
65
+ /**
66
+ * Start a thread on `column` with its first comment. Returns `{ cell }`, the
67
+ * comments cell's new text, or `{ error }`.
68
+ */
69
+ function addCellThread(cell, { id, column, author, body, at } = {}) {
70
+ if (typeof id !== "string" || !/^[a-z][a-z0-9]{3,11}$/.test(id)) return { error: "a thread needs an id" };
71
+ if (typeof column !== "string" || column.trim() === "") return { error: "a cell comment needs its column" };
72
+ if (!String(body ?? "").trim()) return { error: "a comment needs some text" };
73
+ const before = clean(cell);
74
+ if (cellThreads(before).some((thread) => thread.id === id)) return { error: `there is already a thread "${id}"` };
75
+ const header = `${id} ${JSON.stringify(column)}`;
76
+ const text = wrap(before === "" ? header : `${before}\n\n${header}`);
77
+ const added = comments.appendEvent(text, { thread: id, kind: "comment", author, body, at });
78
+ if (added.error !== undefined) return { error: added.error };
79
+ return { cell: unwrap(comments.applyChanges(text, added.changes)) };
80
+ }
81
+
82
+ /** A reply, a resolve or a reopen on a thread in this cell: `{ cell }` or `{ error }`, as `appendEvent` refuses. */
83
+ function appendCellEvent(cell, options = {}) {
84
+ const text = wrap(cell);
85
+ if (text === "") return { error: `there is no comment thread "${options.thread}" on this row` };
86
+ const added = comments.appendEvent(text, options);
87
+ if (added.error !== undefined) return { error: added.error };
88
+ return { cell: unwrap(comments.applyChanges(text, added.changes)) };
89
+ }
90
+
91
+ /** Delete one comment, or a whole thread with its first: `{ cell }` or `{ error }`, as `deleteComment` does. */
92
+ function deleteCellComment(cell, options = {}) {
93
+ const text = wrap(cell);
94
+ if (text === "") return { error: `there is no comment thread "${options.thread}" on this row` };
95
+ const removed = comments.deleteComment(text, options);
96
+ if (removed.error !== undefined) return { error: removed.error };
97
+ return { cell: unwrap(comments.applyChanges(text, removed.changes)) };
98
+ }
99
+
100
+ /** The same column renamed in every thread header of one cell, so a rename keeps its threads on their cells. */
101
+ function renameCellColumn(cell, from, to) {
102
+ const text = wrap(cell);
103
+ if (text === "") return clean(cell);
104
+ const threads = comments.parseComments(text).threads.filter((thread) => thread.quote === from);
105
+ if (threads.length === 0) return clean(cell);
106
+ const changes = threads.map((thread) => {
107
+ const line = text.slice(thread.headerStart, text.indexOf("\n", thread.headerStart));
108
+ return { from: thread.headerStart, to: thread.headerStart + line.length, insert: `${thread.id} ${JSON.stringify(to)}` };
109
+ });
110
+ return unwrap(comments.applyChanges(text, changes));
111
+ }
112
+
113
+ module.exports = {
114
+ COMMENTS_TYPE,
115
+ COMMENTS_COLUMN,
116
+ cellThreads,
117
+ newCellThreadId,
118
+ addCellThread,
119
+ appendCellEvent,
120
+ deleteCellComment,
121
+ renameCellColumn,
122
+ };
@@ -0,0 +1,21 @@
1
+ /** Types for `cellComments.cjs`; see that file for the format and the reasons. */
2
+
3
+ import type { CommentEvent, CommentThread } from "./comments.cjs";
4
+
5
+ export declare const COMMENTS_TYPE: "comments";
6
+ export declare const COMMENTS_COLUMN: "comments";
7
+ export declare function cellThreads(cell: string): CommentThread[];
8
+ export declare function newCellThreadId(cells: string[], random?: () => number): string;
9
+ export declare function addCellThread(
10
+ cell: string,
11
+ options: { id: string; column: string; author: string; body: string; at?: string | number | Date },
12
+ ): { cell: string; error?: undefined } | { error: string; cell?: undefined };
13
+ export declare function appendCellEvent(
14
+ cell: string,
15
+ options: { thread: string; kind: CommentEvent["kind"]; author: string; body?: string; at?: string | number | Date },
16
+ ): { cell: string; error?: undefined } | { error: string; cell?: undefined };
17
+ export declare function deleteCellComment(
18
+ cell: string,
19
+ options: { thread: string; index: number; expect?: { at: string; author: string } },
20
+ ): { cell: string; error?: undefined } | { error: string; cell?: undefined };
21
+ export declare function renameCellColumn(cell: string, from: string, to: string): string;