@opentui/core 0.8.3 → 0.9.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 (87) hide show
  1. package/NativeScene.d.ts +13 -2
  2. package/Renderable.d.ts +16 -6
  3. package/ansi.d.ts +1 -1
  4. package/{chunk-bun-psdzwx7h.js → chunk-bun-rgb7yx3r.js} +8959 -9989
  5. package/chunk-bun-rgb7yx3r.js.map +68 -0
  6. package/{chunk-bun-12ttbayv.js → chunk-bun-ywheza3e.js} +664 -102
  7. package/chunk-bun-ywheza3e.js.map +35 -0
  8. package/{chunk-node-drh8dgw6.js → chunk-node-fcberveq.js} +8959 -9989
  9. package/chunk-node-fcberveq.js.map +68 -0
  10. package/{chunk-node-88t8pbzy.js → chunk-node-k5s8s41v.js} +664 -102
  11. package/chunk-node-k5s8s41v.js.map +34 -0
  12. package/edit-buffer.d.ts +40 -5
  13. package/editor-view.d.ts +28 -0
  14. package/index.bun.js +1252 -4790
  15. package/index.bun.js.map +18 -24
  16. package/index.node.js +1252 -4790
  17. package/index.node.js.map +19 -31
  18. package/lib/KeyHandler.d.ts +1 -1
  19. package/lib/extmarks.d.ts +15 -51
  20. package/lib/index.d.ts +1 -2
  21. package/lib/kitty-keys.d.ts +2 -0
  22. package/lib/parse.keypress.d.ts +8 -3
  23. package/lib/parse.mouse.d.ts +0 -13
  24. package/lib/stdin-parser-native.d.ts +36 -24
  25. package/lib/terminal-capability-detection.d.ts +3 -3
  26. package/lib/terminal-palette.d.ts +3 -0
  27. package/lib/tree-sitter/client.d.ts +14 -3
  28. package/lib/tree-sitter/types.d.ts +10 -0
  29. package/lib/tree-sitter-styled-text.d.ts +2 -0
  30. package/lib/yoga.options.d.ts +3 -0
  31. package/native-abi.generated.d.ts +1395 -0
  32. package/package.json +9 -10
  33. package/parser.worker.js +112 -29
  34. package/parser.worker.js.map +3 -3
  35. package/plugins/core-slot.d.ts +1 -1
  36. package/renderables/ASCIIFont.d.ts +5 -0
  37. package/renderables/Code.d.ts +25 -2
  38. package/renderables/Diff.d.ts +3 -1
  39. package/renderables/EditBufferRenderable.d.ts +30 -1
  40. package/renderables/EmbeddedTerminal.d.ts +1 -1
  41. package/renderables/Input.d.ts +6 -3
  42. package/renderables/LineNumberRenderable.d.ts +4 -0
  43. package/renderables/Markdown.d.ts +208 -124
  44. package/renderables/ScrollBox.d.ts +7 -2
  45. package/renderables/ScrollBoxParts.d.ts +4 -5
  46. package/renderables/Select.d.ts +2 -2
  47. package/renderables/TabSelect.d.ts +2 -2
  48. package/renderables/Text.d.ts +3 -1
  49. package/renderables/TextBufferRenderable.d.ts +2 -0
  50. package/renderables/TextTable.d.ts +6 -0
  51. package/renderables/Textarea.d.ts +2 -1
  52. package/renderables/__tests__/code-model-harness.d.ts +40 -0
  53. package/renderables/index.d.ts +1 -3
  54. package/renderables/markdown-document.d.ts +37 -0
  55. package/renderables/props.d.ts +10 -0
  56. package/renderer-theme-mode.d.ts +5 -1
  57. package/renderer.d.ts +23 -9
  58. package/runtime-plugin.js +32 -57
  59. package/runtime-plugin.js.map +1 -1
  60. package/syntax-style.d.ts +5 -0
  61. package/testing/mock-tree-sitter-client.d.ts +5 -0
  62. package/testing/model.d.ts +15 -0
  63. package/testing.bun.js +8 -31
  64. package/testing.bun.js.map +4 -4
  65. package/testing.js +8 -31
  66. package/testing.js.map +4 -4
  67. package/tests/shrink-same-check.d.ts +4 -0
  68. package/tests/yoga-upstream/tools/utils.d.ts +9 -2
  69. package/text-buffer.d.ts +4 -0
  70. package/types.d.ts +2 -2
  71. package/yoga.bun.js +1 -1
  72. package/yoga.internal.d.ts +1 -0
  73. package/yoga.js +1 -1
  74. package/zig.d.ts +104 -5
  75. package/chunk-bun-12ttbayv.js.map +0 -35
  76. package/chunk-bun-psdzwx7h.js.map +0 -70
  77. package/chunk-node-88t8pbzy.js.map +0 -34
  78. package/chunk-node-drh8dgw6.js.map +0 -70
  79. package/lib/debounce.d.ts +0 -42
  80. package/lib/extmarks-history.d.ts +0 -17
  81. package/lib/parse.keypress-kitty.d.ts +0 -5
  82. package/lib/queue.d.ts +0 -15
  83. package/lib/stdin-parser.d.ts +0 -97
  84. package/renderables/composition/VRenderable.d.ts +0 -16
  85. package/renderables/composition/constructs.d.ts +0 -35
  86. package/renderables/composition/vnode.d.ts +0 -46
  87. package/renderables/markdown-parser.d.ts +0 -12
@@ -1,3 +1,856 @@
1
+ export declare const OT_CONTEXT_ABI_VERSION = 2;
2
+ export declare const OT_OK = 0;
3
+ export declare const OT_INVALID_ARGUMENT = -1;
4
+ export declare const OT_UNSUPPORTED_VERSION = -2;
5
+ export declare const OT_OUT_OF_MEMORY = -3;
6
+ export declare const OT_WRONG_THREAD = -4;
7
+ export declare const OT_INTERNAL_ERROR = -5;
8
+ export declare const OT_CONTEXT_BUSY = -6;
9
+ export declare const OT_WRONG_CONTEXT = -7;
10
+ export declare const OT_WRONG_KIND = -8;
11
+ export declare const OT_STALE_HANDLE = -9;
12
+ export declare const OT_WRONG_SESSION = -10;
13
+ export declare const OT_OUTPUT_BACKPRESSURE = -11;
14
+ export declare const OT_SESSION_CLOSED = -12;
15
+ export declare const OT_OUTPUT_BUSY = -13;
16
+ export declare const OT_STALE_OUTPUT = -14;
17
+ export declare const OT_OUTPUT_FAILED = -15;
18
+ export declare const OT_OBJECT_LIMIT = -16;
19
+ export declare const OT_RENDERER_ATTACHED = -17;
20
+ export declare const OT_RENDERER_NOT_ATTACHED = -18;
21
+ export declare const OT_INVALID_PHASE = -19;
22
+ export declare const OT_CONTROL_PACKET_LIMIT = -20;
23
+ export declare const OT_LEASE_LIMIT = -21;
24
+ export declare const OT_LEASE_BYTES_LIMIT = -22;
25
+ export declare const OT_STALE_LEASE = -23;
26
+ export declare const OT_UNSUPPORTED_RESOURCE = -24;
27
+ export declare const OT_STALE_FRAME = -25;
28
+ export declare const OT_LAYOUT_LIMIT = -26;
29
+ export declare const OT_FRAME_BUSY = -27;
30
+ export declare const OT_FRAME_REQUEST_LIMIT = -28;
31
+ export declare const OT_IMAGE_UNSUPPORTED_FORMAT = -40;
32
+ export declare const OT_IMAGE_UNSUPPORTED_COLOR_SPACE = -41;
33
+ export declare const OT_IMAGE_MALFORMED_DATA = -42;
34
+ export declare const OT_IMAGE_DIMENSION_LIMIT = -43;
35
+ export declare const OT_IMAGE_MEMORY_LIMIT = -44;
36
+ export declare const OT_IMAGE_OUTPUT_TOO_SMALL = -45;
37
+ export declare const OT_IMAGE_UNSUPPORTED_FEATURE = -46;
38
+ export declare const OT_IMAGE_BUSY = -47;
39
+ export declare const OT_VIDEO_FAILED = -60;
40
+ export declare const OT_AUDIO_DECODE_FAILED = -61;
41
+ export declare const OT_AUDIO_DEVICE_FAILED = -62;
42
+ export declare const OT_SCENE_ROOT = 0;
43
+ export declare const OT_SCENE_BOX = 1;
44
+ export declare const OT_SCENE_TEXT = 2;
45
+ export declare const OT_SCENE_SLIDER = 3;
46
+ export declare const OT_SCENE_ARROW = 4;
47
+ export declare const OT_SCENE_EDITOR = 5;
48
+ export declare const OT_SCENE_CUSTOM = 6;
49
+ export declare const OT_SCENE_TEXT_VIEW = 7;
50
+ export declare const OT_SCENE_IMAGE = 8;
51
+ export declare const OT_SCENE_VIDEO = 9;
52
+ export declare const OT_SCENE_WRAP_NONE = 0;
53
+ export declare const OT_SCENE_WRAP_CHAR = 1;
54
+ export declare const OT_SCENE_WRAP_WORD = 2;
55
+ export declare const OT_SCENE_ALIGN_LEFT = 0;
56
+ export declare const OT_SCENE_ALIGN_CENTER = 1;
57
+ export declare const OT_SCENE_ALIGN_RIGHT = 2;
58
+ export declare const OT_STYLE_ENUM = 0;
59
+ export declare const OT_STYLE_FLOAT = 1;
60
+ export declare const OT_STYLE_VALUE = 2;
61
+ export declare const OT_STYLE_BORDER = 3;
62
+ export declare const OT_STYLE_DIMENSION = 4;
63
+ export declare const OT_STYLE_BORDER_WIDTH = 0;
64
+ export declare const OT_STYLE_FLAGS_NONE = 0;
65
+ export declare const OT_STYLE_DISABLE_FLEX_SHRINK = 1;
66
+ export declare const OT_STYLE_CONTENT = 2;
67
+ export declare const OT_STYLE_ENUM_DIRECTION = 0;
68
+ export declare const OT_STYLE_ENUM_FLEX_DIRECTION = 1;
69
+ export declare const OT_STYLE_ENUM_JUSTIFY_CONTENT = 2;
70
+ export declare const OT_STYLE_ENUM_ALIGN_CONTENT = 3;
71
+ export declare const OT_STYLE_ENUM_ALIGN_ITEMS = 4;
72
+ export declare const OT_STYLE_ENUM_ALIGN_SELF = 5;
73
+ export declare const OT_STYLE_ENUM_POSITION_TYPE = 6;
74
+ export declare const OT_STYLE_ENUM_FLEX_WRAP = 7;
75
+ export declare const OT_STYLE_ENUM_OVERFLOW = 8;
76
+ export declare const OT_STYLE_ENUM_DISPLAY = 9;
77
+ export declare const OT_STYLE_ENUM_BOX_SIZING = 10;
78
+ export declare const OT_STYLE_ENUM_LAYOUT_MODE = 11;
79
+ export declare const OT_STYLE_FLOAT_FLEX = 0;
80
+ export declare const OT_STYLE_FLOAT_FLEX_GROW = 1;
81
+ export declare const OT_STYLE_FLOAT_FLEX_SHRINK = 2;
82
+ export declare const OT_STYLE_FLOAT_ASPECT_RATIO = 3;
83
+ export declare const OT_STYLE_VALUE_WIDTH = 0;
84
+ export declare const OT_STYLE_VALUE_HEIGHT = 1;
85
+ export declare const OT_STYLE_VALUE_MIN_WIDTH = 2;
86
+ export declare const OT_STYLE_VALUE_MIN_HEIGHT = 3;
87
+ export declare const OT_STYLE_VALUE_MAX_WIDTH = 4;
88
+ export declare const OT_STYLE_VALUE_MAX_HEIGHT = 5;
89
+ export declare const OT_STYLE_VALUE_FLEX_BASIS = 6;
90
+ export declare const OT_STYLE_VALUE_MARGIN = 7;
91
+ export declare const OT_STYLE_VALUE_PADDING = 8;
92
+ export declare const OT_STYLE_VALUE_POSITION = 9;
93
+ export declare const OT_STYLE_VALUE_GAP = 10;
94
+ export declare const OT_DIMENSION_WIDTH = 0;
95
+ export declare const OT_DIMENSION_HEIGHT = 1;
96
+ export declare const OT_UNIT_UNDEFINED = 0;
97
+ export declare const OT_UNIT_POINT = 1;
98
+ export declare const OT_UNIT_PERCENT = 2;
99
+ export declare const OT_UNIT_AUTO = 3;
100
+ export declare const OT_EDGE_NONE = 0;
101
+ export declare const OT_EDGE_LEFT = 0;
102
+ export declare const OT_EDGE_TOP = 1;
103
+ export declare const OT_EDGE_RIGHT = 2;
104
+ export declare const OT_EDGE_BOTTOM = 3;
105
+ export declare const OT_EDGE_START = 4;
106
+ export declare const OT_EDGE_END = 5;
107
+ export declare const OT_EDGE_HORIZONTAL = 6;
108
+ export declare const OT_EDGE_VERTICAL = 7;
109
+ export declare const OT_EDGE_ALL = 8;
110
+ export declare const OT_GUTTER_COLUMN = 0;
111
+ export declare const OT_GUTTER_ROW = 1;
112
+ export declare const OT_GUTTER_ALL = 2;
113
+ export declare const OT_DIRECTION_INHERIT = 0;
114
+ export declare const OT_DIRECTION_LTR = 1;
115
+ export declare const OT_DIRECTION_RTL = 2;
116
+ export declare const OT_FLEX_DIRECTION_COLUMN = 0;
117
+ export declare const OT_FLEX_DIRECTION_COLUMN_REVERSE = 1;
118
+ export declare const OT_FLEX_DIRECTION_ROW = 2;
119
+ export declare const OT_FLEX_DIRECTION_ROW_REVERSE = 3;
120
+ export declare const OT_JUSTIFY_FLEX_START = 0;
121
+ export declare const OT_JUSTIFY_CENTER = 1;
122
+ export declare const OT_JUSTIFY_FLEX_END = 2;
123
+ export declare const OT_JUSTIFY_SPACE_BETWEEN = 3;
124
+ export declare const OT_JUSTIFY_SPACE_AROUND = 4;
125
+ export declare const OT_JUSTIFY_SPACE_EVENLY = 5;
126
+ export declare const OT_ALIGN_AUTO = 0;
127
+ export declare const OT_ALIGN_FLEX_START = 1;
128
+ export declare const OT_ALIGN_CENTER = 2;
129
+ export declare const OT_ALIGN_FLEX_END = 3;
130
+ export declare const OT_ALIGN_STRETCH = 4;
131
+ export declare const OT_ALIGN_BASELINE = 5;
132
+ export declare const OT_ALIGN_SPACE_BETWEEN = 6;
133
+ export declare const OT_ALIGN_SPACE_AROUND = 7;
134
+ export declare const OT_ALIGN_SPACE_EVENLY = 8;
135
+ export declare const OT_POSITION_STATIC = 0;
136
+ export declare const OT_POSITION_RELATIVE = 1;
137
+ export declare const OT_POSITION_ABSOLUTE = 2;
138
+ export declare const OT_FLEX_WRAP_NONE = 0;
139
+ export declare const OT_FLEX_WRAP_WRAP = 1;
140
+ export declare const OT_FLEX_WRAP_REVERSE = 2;
141
+ export declare const OT_OVERFLOW_VISIBLE = 0;
142
+ export declare const OT_OVERFLOW_HIDDEN = 1;
143
+ export declare const OT_OVERFLOW_SCROLL = 2;
144
+ export declare const OT_DISPLAY_FLEX = 0;
145
+ export declare const OT_DISPLAY_NONE = 1;
146
+ export declare const OT_BOX_SIZING_BORDER_BOX = 0;
147
+ export declare const OT_BOX_SIZING_CONTENT_BOX = 1;
148
+ export declare const OT_LAYOUT_MODE_FLEX = 0;
149
+ export declare const OT_LAYOUT_MODE_LIST = 1;
150
+ export declare const OT_DISPLAY_CONTENTS = 2;
151
+ export declare const OT_YOGA_ERRATA_NONE = 0;
152
+ export declare const OT_YOGA_ERRATA_STRETCH_FLEX_BASIS = 1;
153
+ export declare const OT_YOGA_ERRATA_ABSOLUTE_POSITION_WITHOUT_INSETS_EXCLUDES_PADDING = 2;
154
+ export declare const OT_YOGA_ERRATA_ABSOLUTE_PERCENT_AGAINST_INNER_SIZE = 4;
155
+ export declare const OT_YOGA_ERRATA_ALL = 2147483647;
156
+ export declare const OT_YOGA_ERRATA_CLASSIC = 2147483646;
157
+ export declare const OT_YOGA_EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS = 0;
158
+ export declare const OT_YOGA_LOG_LEVEL_ERROR = 0;
159
+ export declare const OT_YOGA_LOG_LEVEL_WARN = 1;
160
+ export declare const OT_YOGA_LOG_LEVEL_INFO = 2;
161
+ export declare const OT_YOGA_LOG_LEVEL_DEBUG = 3;
162
+ export declare const OT_YOGA_LOG_LEVEL_VERBOSE = 4;
163
+ export declare const OT_YOGA_LOG_LEVEL_FATAL = 5;
164
+ export declare const OT_YOGA_NODE_TYPE_DEFAULT = 0;
165
+ export declare const OT_YOGA_NODE_TYPE_TEXT = 1;
166
+ export declare const OT_STYLE_ENUM_DIRECTION_MAX = 2;
167
+ export declare const OT_STYLE_ENUM_FLEX_DIRECTION_MAX = 3;
168
+ export declare const OT_STYLE_ENUM_JUSTIFY_CONTENT_MAX = 5;
169
+ export declare const OT_STYLE_ENUM_ALIGN_CONTENT_MAX = 8;
170
+ export declare const OT_STYLE_ENUM_ALIGN_ITEMS_MAX = 8;
171
+ export declare const OT_STYLE_ENUM_ALIGN_SELF_MAX = 8;
172
+ export declare const OT_STYLE_ENUM_POSITION_TYPE_MAX = 2;
173
+ export declare const OT_STYLE_ENUM_FLEX_WRAP_MAX = 2;
174
+ export declare const OT_STYLE_ENUM_OVERFLOW_MAX = 2;
175
+ export declare const OT_STYLE_ENUM_DISPLAY_MAX = 1;
176
+ export declare const OT_STYLE_ENUM_BOX_SIZING_MAX = 1;
177
+ export declare const OT_STYLE_ENUM_LAYOUT_MODE_MAX = 1;
178
+ export declare const OT_MEASURE_UNDEFINED = 0;
179
+ export declare const OT_MEASURE_EXACTLY = 1;
180
+ export declare const OT_MEASURE_AT_MOST = 2;
181
+ export declare const OT_LAYOUT_PUBLIC = 0;
182
+ export declare const OT_LAYOUT_YOGA = 1;
183
+ export declare const OT_LAYOUT_PAINT = 2;
184
+ export declare const OT_LAYOUT_CONTENT = 3;
185
+ export declare const OT_BORDER_NONE = 0;
186
+ export declare const OT_BORDER_LEFT = 1;
187
+ export declare const OT_BORDER_BOTTOM = 2;
188
+ export declare const OT_BORDER_RIGHT = 4;
189
+ export declare const OT_BORDER_TOP = 8;
190
+ export declare const OT_BORDER_ALL = 15;
191
+ export declare const OT_BORDER_SINGLE = 0;
192
+ export declare const OT_BORDER_DOUBLE = 1;
193
+ export declare const OT_BORDER_ROUNDED = 2;
194
+ export declare const OT_BORDER_HEAVY = 3;
195
+ export declare const OT_COLOR_RGB = 0;
196
+ export declare const OT_COLOR_INDEXED = 1;
197
+ export declare const OT_COLOR_DEFAULT = 2;
198
+ export declare const OT_COLOR_CHANNEL_MASK = 255;
199
+ export declare const OT_COLOR_META_SHIFT = 8;
200
+ export declare const OT_COLOR_ANSI_0 = 0;
201
+ export declare const OT_COLOR_ANSI_1 = 8388608;
202
+ export declare const OT_COLOR_ANSI_2 = 32768;
203
+ export declare const OT_COLOR_ANSI_3 = 8421376;
204
+ export declare const OT_COLOR_ANSI_4 = 128;
205
+ export declare const OT_COLOR_ANSI_5 = 8388736;
206
+ export declare const OT_COLOR_ANSI_6 = 32896;
207
+ export declare const OT_COLOR_ANSI_7 = 12632256;
208
+ export declare const OT_COLOR_ANSI_8 = 8421504;
209
+ export declare const OT_COLOR_ANSI_9 = 16711680;
210
+ export declare const OT_COLOR_ANSI_10 = 65280;
211
+ export declare const OT_COLOR_ANSI_11 = 16776960;
212
+ export declare const OT_COLOR_ANSI_12 = 255;
213
+ export declare const OT_COLOR_ANSI_13 = 16711935;
214
+ export declare const OT_COLOR_ANSI_14 = 65535;
215
+ export declare const OT_COLOR_ANSI_15 = 16777215;
216
+ export declare const OT_COLOR_CUBE_BASE = 55;
217
+ export declare const OT_COLOR_CUBE_STEP = 40;
218
+ export declare const OT_COLOR_GRAY_BASE = 8;
219
+ export declare const OT_COLOR_GRAY_STEP = 10;
220
+ export declare const OT_ATTR_BOLD = 1;
221
+ export declare const OT_ATTR_DIM = 2;
222
+ export declare const OT_ATTR_ITALIC = 4;
223
+ export declare const OT_ATTR_UNDERLINE = 8;
224
+ export declare const OT_ATTR_BLINK = 16;
225
+ export declare const OT_ATTR_INVERSE = 32;
226
+ export declare const OT_ATTR_HIDDEN = 64;
227
+ export declare const OT_ATTR_STRIKETHROUGH = 128;
228
+ export declare const OT_ATTR_BASE_MASK = 255;
229
+ export declare const OT_ATTR_LINK_SHIFT = 8;
230
+ export declare const OT_ATTR_LINK_MASK = 16777215;
231
+ export declare const OT_SCENE_TEXT_SELECTION_RESET = 0;
232
+ export declare const OT_SCENE_TEXT_SELECTION_SET = 1;
233
+ export declare const OT_SCENE_TEXT_SELECTION_UPDATE = 2;
234
+ export declare const OT_SCENE_TEXT_SELECTION_CELL = 0;
235
+ export declare const OT_SCENE_TEXT_SELECTION_WORD = 1;
236
+ export declare const OT_SCENE_TEXT_SELECTION_LINE = 2;
237
+ export declare const OT_SCENE_TEXT_SELECTION_BACKGROUND = 1;
238
+ export declare const OT_SCENE_TEXT_SELECTION_FOREGROUND = 2;
239
+ export declare const OT_SCENE_TEXT_FOREGROUND = 1;
240
+ export declare const OT_SCENE_TEXT_BACKGROUND = 2;
241
+ export declare const OT_SCENE_TEXT_LINK = 4;
242
+ export declare const OT_SCENE_MUTATIONS_MAX = 4096;
243
+ export declare const OT_SCENE_FULL_PATH_FORCED = 1;
244
+ export declare const OT_SCENE_FULL_PATH_SCREEN = 2;
245
+ export declare const OT_SCENE_FULL_PATH_IMAGES = 4;
246
+ export declare const OT_SCENE_FULL_PATH_TAINTED = 8;
247
+ export declare const OT_SCENE_FULL_PATH_UNRETAINED = 16;
248
+ export declare const OT_SCENE_FULL_PATH_OPTIONS = 32;
249
+ export declare const OT_SCENE_FULL_PATH_NON_LOCAL = 64;
250
+ export declare const OT_CURSOR_STYLE_BLOCK = 0;
251
+ export declare const OT_CURSOR_STYLE_LINE = 1;
252
+ export declare const OT_CURSOR_STYLE_UNDERLINE = 2;
253
+ export declare const OT_CURSOR_STYLE_DEFAULT = 3;
254
+ export declare const OT_SCENE_HOOK_UPDATE = 1;
255
+ export declare const OT_SCENE_HOOK_RESIZE = 2;
256
+ export declare const OT_SCENE_HOOK_LAYOUT_CHANGED = 4;
257
+ export declare const OT_SCENE_HOOK_RENDER_BEFORE = 8;
258
+ export declare const OT_SCENE_HOOK_RENDER_AFTER = 16;
259
+ export declare const OT_SCENE_HOOK_RENDER_SELF = 32;
260
+ export declare const OT_SCENE_HOOK_IDLE_UPDATE = 64;
261
+ export declare const OT_SCENE_HOOK_SCROLL = 128;
262
+ export declare const OT_SCENE_FRAME_DONE = 0;
263
+ export declare const OT_SCENE_FRAME_UPDATE = 1;
264
+ export declare const OT_SCENE_FRAME_RESIZE = 2;
265
+ export declare const OT_SCENE_FRAME_LAYOUT_CHANGED = 3;
266
+ export declare const OT_SCENE_FRAME_RECORD = 4;
267
+ export declare const OT_SCENE_FRAME_SCROLL = 5;
268
+ export declare const OT_SCENE_GEOMETRY_PAINT = 1;
269
+ export declare const OT_SCENE_GEOMETRY_PUBLIC = 2;
270
+ export declare const OT_SCENE_PROPERTY_Z_INDEX = 1;
271
+ export declare const OT_SCENE_PROPERTY_OPACITY = 2;
272
+ export declare const OT_SCENE_PROPERTY_TRANSLATE_X = 4;
273
+ export declare const OT_SCENE_PROPERTY_TRANSLATE_Y = 8;
274
+ export declare const OT_SCENE_PROPERTY_BORDER = 16;
275
+ export declare const OT_SCENE_PROPERTY_SHOULD_FILL = 32;
276
+ export declare const OT_SCENE_PROPERTY_BACKGROUND = 64;
277
+ export declare const OT_SCENE_PROPERTY_BORDER_COLOR = 128;
278
+ export declare const OT_SCENE_PROPERTY_BORDER_STYLE = 256;
279
+ export declare const OT_SCENE_PROPERTY_FOCUSABLE = 512;
280
+ export declare const OT_SCENE_PROPERTY_FOCUSED_BORDER_COLOR = 1024;
281
+ export declare const OT_SCENE_PROPERTY_STYLE = 2048;
282
+ export declare const OT_SCENE_PROPERTY_RESET_BORDER_CHARACTERS = 4096;
283
+ export declare const OT_SCENE_PROPERTY_RECORD_MAX = 88;
284
+ export declare const OT_SCENE_PROPERTY_BYTES_MAX = 360448;
285
+ export declare const OT_SCENE_SCROLL_X = 1;
286
+ export declare const OT_SCENE_SCROLL_Y = 2;
287
+ export declare const OT_SCENE_SCROLL_FOLLOW_NONE = 0;
288
+ export declare const OT_SCENE_SCROLL_FOLLOW_TOP = 1;
289
+ export declare const OT_SCENE_SCROLL_FOLLOW_BOTTOM = 2;
290
+ export declare const OT_SCENE_SCROLL_FOLLOW_LEFT = 3;
291
+ export declare const OT_SCENE_SCROLL_FOLLOW_RIGHT = 4;
292
+ export declare const OT_SCENE_SCROLL_FILL_WRAPPER = 1;
293
+ export declare const OT_SCENE_SCROLL_FILL_VIEWPORT = 2;
294
+ export declare const OT_SCENE_SCROLL_FILL_CONTENT = 4;
295
+ export declare const OT_SCENE_SCROLL_BAR_AUTO = 0;
296
+ export declare const OT_SCENE_SCROLL_BAR_ALWAYS = 1;
297
+ export declare const OT_SCENE_SCROLL_BAR_NEVER = 2;
298
+ export declare const OT_SCENE_SCROLL_BAR_INSET = 0;
299
+ export declare const OT_SCENE_SCROLL_BAR_OVERLAY = 1;
300
+ export declare const OT_SCENE_SCROLL_RELATIVE_X = 1;
301
+ export declare const OT_SCENE_SCROLL_RELATIVE_Y = 2;
302
+ export declare const OT_SCENE_SCROLL_REAPPLY = 4;
303
+ export declare const OT_SCENE_SCROLL_REQUEST_INTO_VIEW = 0;
304
+ export declare const OT_SCENE_SCROLL_REQUEST_ANCHOR = 1;
305
+ export declare const OT_SCENE_SCROLL_REQUEST_LAYOUT = 2;
306
+ export declare const OT_SCENE_SCROLL_ALIGN_NEAREST = 0;
307
+ export declare const OT_SCENE_SCROLL_ALIGN_START = 1;
308
+ export declare const OT_SCENE_SCROLL_ALIGN_END = 2;
309
+ export declare const OT_SCENE_SCROLL_PADDING_MAX = 65535;
310
+ export declare const OT_SCENE_SCROLL_CHANGED_OFFSET_X = 1;
311
+ export declare const OT_SCENE_SCROLL_CHANGED_OFFSET_Y = 2;
312
+ export declare const OT_SCENE_SCROLL_CHANGED_CONTENT = 4;
313
+ export declare const OT_SCENE_SCROLL_CHANGED_VIEWPORT = 8;
314
+ export declare const OT_SCENE_SCROLL_CHANGED_LAYOUT = 16;
315
+ export declare const OT_SCENE_DEBUG_FULL_FRAME = 1;
316
+ export declare const OT_SCENE_DEBUG_VERIFY = 2;
317
+ export declare const OT_SESSION_OPEN = 0;
318
+ export declare const OT_SESSION_CLOSING = 1;
319
+ export declare const OT_SESSION_CLOSED_STATE = 2;
320
+ export declare const OT_SESSION_FAILED = 3;
321
+ export declare const OT_SESSION_CANCELLED_STATE = 4;
322
+ export declare const OT_SESSION_REMOTE_AUTO = 0;
323
+ export declare const OT_SESSION_REMOTE_LOCAL = 1;
324
+ export declare const OT_SESSION_REMOTE_REMOTE = 2;
325
+ export declare const OT_SESSION_ENV_ENTRIES_MAX = 256;
326
+ export declare const OT_SESSION_ENV_BYTES_MAX = 65536;
327
+ export declare const OT_RENDER_PRESENTED = 0;
328
+ export declare const OT_RENDER_PENDING = 1;
329
+ export declare const OT_RENDER_SKIPPED = 2;
330
+ export declare const OT_RENDER_FAILED = 3;
331
+ export declare const OT_SPLIT_SNAPSHOTS_MAX = 64;
332
+ export declare const OT_SESSION_BUFFER_CURRENT = 0;
333
+ export declare const OT_SESSION_BUFFER_NEXT = 1;
334
+ export declare const OT_WIDTH_METHOD_WCWIDTH = 0;
335
+ export declare const OT_WIDTH_METHOD_UNICODE = 1;
336
+ export declare const OT_WIDTH_METHOD_NO_ZWJ = 2;
337
+ export declare const OT_WIDTH_METHOD_UNICODE_WIDE = 3;
338
+ export declare const OT_BUFFER_RESPECT_ALPHA = 1;
339
+ export declare const OT_EMBEDDED_TERMINAL_CURSOR_BAR = 0;
340
+ export declare const OT_EMBEDDED_TERMINAL_CURSOR_BLOCK = 1;
341
+ export declare const OT_EMBEDDED_TERMINAL_CURSOR_UNDERLINE = 2;
342
+ export declare const OT_EMBEDDED_TERMINAL_CURSOR_BLOCK_HOLLOW = 3;
343
+ export declare const OT_EMBEDDED_TERMINAL_MOD_SHIFT = 1;
344
+ export declare const OT_EMBEDDED_TERMINAL_MOD_CTRL = 2;
345
+ export declare const OT_EMBEDDED_TERMINAL_MOD_ALT = 4;
346
+ export declare const OT_EMBEDDED_TERMINAL_MOD_SUPER = 8;
347
+ export declare const OT_EMBEDDED_TERMINAL_MOD_CAPS_LOCK = 16;
348
+ export declare const OT_EMBEDDED_TERMINAL_MOD_NUM_LOCK = 32;
349
+ export declare const OT_EMBEDDED_TERMINAL_KEY_RELEASE = 0;
350
+ export declare const OT_EMBEDDED_TERMINAL_KEY_PRESS = 1;
351
+ export declare const OT_EMBEDDED_TERMINAL_KEY_REPEAT = 2;
352
+ export declare const OT_EMBEDDED_TERMINAL_MOUSE_PRESS = 0;
353
+ export declare const OT_EMBEDDED_TERMINAL_MOUSE_RELEASE = 1;
354
+ export declare const OT_EMBEDDED_TERMINAL_MOUSE_MOTION = 2;
355
+ export declare const OT_EMBEDDED_TERMINAL_BUTTON_NONE = -1;
356
+ export declare const OT_EMBEDDED_TERMINAL_BUTTON_UNKNOWN = 0;
357
+ export declare const OT_EMBEDDED_TERMINAL_BUTTON_LEFT = 1;
358
+ export declare const OT_EMBEDDED_TERMINAL_BUTTON_RIGHT = 2;
359
+ export declare const OT_EMBEDDED_TERMINAL_BUTTON_MIDDLE = 3;
360
+ export declare const OT_EMBEDDED_TERMINAL_BUTTON_FOUR = 4;
361
+ export declare const OT_EMBEDDED_TERMINAL_BUTTON_FIVE = 5;
362
+ export declare const OT_EMBEDDED_TERMINAL_BUTTON_SIX = 6;
363
+ export declare const OT_EMBEDDED_TERMINAL_BUTTON_SEVEN = 7;
364
+ export declare const OT_EMBEDDED_TERMINAL_INPUT_BYTES_MAX = 1048576;
365
+ export declare const OT_EMBEDDED_TERMINAL_INVALIDATE = 0;
366
+ export declare const OT_EMBEDDED_TERMINAL_SCROLL = 1;
367
+ export declare const OT_EMBEDDED_TERMINAL_CLEAR_SELECTION = 2;
368
+ export declare const OT_EMBEDDED_TERMINAL_SET_TRANSPARENT_BACKGROUND = 3;
369
+ export declare const OT_EMBEDDED_TERMINAL_RESPONSE_BYTES_MAX = 1048576;
370
+ export declare const OT_EDIT_CURSOR_CHANGED = 1;
371
+ export declare const OT_EDIT_CONTENT_CHANGED = 2;
372
+ export declare const OT_EDIT_HISTORY_CURSOR_CHANGED = 4;
373
+ export declare const OT_MOUSE_POINTER_AUTO = 0;
374
+ export declare const OT_MOUSE_POINTER_DEFAULT = 1;
375
+ export declare const OT_MOUSE_POINTER_NONE = 2;
376
+ export declare const OT_MOUSE_POINTER_CONTEXT_MENU = 3;
377
+ export declare const OT_MOUSE_POINTER_HELP = 4;
378
+ export declare const OT_MOUSE_POINTER_POINTER = 5;
379
+ export declare const OT_MOUSE_POINTER_PROGRESS = 6;
380
+ export declare const OT_MOUSE_POINTER_WAIT = 7;
381
+ export declare const OT_MOUSE_POINTER_CELL = 8;
382
+ export declare const OT_MOUSE_POINTER_CROSSHAIR = 9;
383
+ export declare const OT_MOUSE_POINTER_TEXT = 10;
384
+ export declare const OT_MOUSE_POINTER_VERTICAL_TEXT = 11;
385
+ export declare const OT_MOUSE_POINTER_ALIAS = 12;
386
+ export declare const OT_MOUSE_POINTER_COPY = 13;
387
+ export declare const OT_MOUSE_POINTER_MOVE = 14;
388
+ export declare const OT_MOUSE_POINTER_NO_DROP = 15;
389
+ export declare const OT_MOUSE_POINTER_NOT_ALLOWED = 16;
390
+ export declare const OT_MOUSE_POINTER_GRAB = 17;
391
+ export declare const OT_MOUSE_POINTER_GRABBING = 18;
392
+ export declare const OT_MOUSE_POINTER_ALL_SCROLL = 19;
393
+ export declare const OT_MOUSE_POINTER_COL_RESIZE = 20;
394
+ export declare const OT_MOUSE_POINTER_ROW_RESIZE = 21;
395
+ export declare const OT_MOUSE_POINTER_N_RESIZE = 22;
396
+ export declare const OT_MOUSE_POINTER_E_RESIZE = 23;
397
+ export declare const OT_MOUSE_POINTER_S_RESIZE = 24;
398
+ export declare const OT_MOUSE_POINTER_W_RESIZE = 25;
399
+ export declare const OT_MOUSE_POINTER_NE_RESIZE = 26;
400
+ export declare const OT_MOUSE_POINTER_NW_RESIZE = 27;
401
+ export declare const OT_MOUSE_POINTER_SE_RESIZE = 28;
402
+ export declare const OT_MOUSE_POINTER_SW_RESIZE = 29;
403
+ export declare const OT_MOUSE_POINTER_EW_RESIZE = 30;
404
+ export declare const OT_MOUSE_POINTER_NS_RESIZE = 31;
405
+ export declare const OT_MOUSE_POINTER_NESW_RESIZE = 32;
406
+ export declare const OT_MOUSE_POINTER_NWSE_RESIZE = 33;
407
+ export declare const OT_MOUSE_POINTER_ZOOM_IN = 34;
408
+ export declare const OT_MOUSE_POINTER_ZOOM_OUT = 35;
409
+ export declare const OT_MOUSE_POINTER_MAX = 35;
410
+ export declare const OT_MOUSE_POINTER_UNCHANGED = 4294967295;
411
+ export declare const OT_EDIT_DELETE_FORWARD = 0;
412
+ export declare const OT_EDIT_BACKSPACE = 1;
413
+ export declare const OT_EDIT_NEW_LINE = 2;
414
+ export declare const OT_EDIT_DELETE_LINE = 3;
415
+ export declare const OT_EDIT_MOVE_LEFT = 4;
416
+ export declare const OT_EDIT_MOVE_RIGHT = 5;
417
+ export declare const OT_EDIT_MOVE_UP = 6;
418
+ export declare const OT_EDIT_MOVE_DOWN = 7;
419
+ export declare const OT_EDIT_GOTO_LINE = 8;
420
+ export declare const OT_EDIT_CURSOR_OFFSET = 9;
421
+ export declare const OT_EDIT_CLEAR = 10;
422
+ export declare const OT_EDIT_CLEAR_HISTORY = 11;
423
+ export declare const OT_EDIT_DEBUG_ROPE = 12;
424
+ export declare const OT_EDIT_CURSOR_OFFSET_ATOMIC = 13;
425
+ export declare const OT_EDIT_KEEP_OUTSIDE = 14;
426
+ export declare const OT_EDIT_ATOMIC = 1;
427
+ export declare const OT_EDIT_POSITION_CURSOR = 0;
428
+ export declare const OT_EDIT_POSITION_NEXT_WORD = 1;
429
+ export declare const OT_EDIT_POSITION_PREV_WORD = 2;
430
+ export declare const OT_EDIT_POSITION_EOL = 3;
431
+ export declare const OT_EDIT_POSITION_OFFSET = 4;
432
+ export declare const OT_EDIT_POSITION_COORDS = 5;
433
+ export declare const OT_EDIT_POSITION_LINE_START = 6;
434
+ export declare const OT_EDIT_POSITION_END = 7;
435
+ export declare const OT_EDIT_POSITION_PREV_CHAR = 8;
436
+ export declare const OT_EDIT_BYTE_TO_CELL = 0;
437
+ export declare const OT_EDIT_CELL_TO_BYTE = 1;
438
+ export declare const OT_EDIT_UTF16_TO_CELL = 2;
439
+ export declare const OT_EDIT_CELL_TO_UTF16 = 3;
440
+ export declare const OT_EDITOR_STYLE_FOREGROUND = 1;
441
+ export declare const OT_EDITOR_STYLE_BACKGROUND = 2;
442
+ export declare const OT_EDITOR_STYLE_ATTRIBUTES = 4;
443
+ export declare const OT_EDITOR_STYLE_ATTRIBUTE_MASK = 8;
444
+ export declare const OT_EDIT_HIGHLIGHT_ADD_LINE = 0;
445
+ export declare const OT_EDIT_HIGHLIGHT_ADD_RANGE = 1;
446
+ export declare const OT_EDIT_HIGHLIGHT_REMOVE_REF = 2;
447
+ export declare const OT_EDIT_HIGHLIGHT_CLEAR_LINE = 3;
448
+ export declare const OT_EDIT_HIGHLIGHT_CLEAR_ALL = 4;
449
+ export declare const OT_STYLE_RUN_FLAG = 2147483648;
450
+ export declare const OT_GROUP_SET_NAME_COUNT_MAX = 16;
451
+ export declare const OT_GROUP_SET_NAME_BYTE_COUNT_MAX = 64;
452
+ export declare const OT_EDIT_MARK_ADD = 0;
453
+ export declare const OT_EDIT_MARK_REMOVE = 1;
454
+ export declare const OT_EDIT_MARK_CLEAR = 2;
455
+ export declare const OT_EDIT_MARK_ATOMIC = 1;
456
+ export declare const OT_EDIT_MARK_STYLE_VALUE = 2;
457
+ export declare const OT_EDIT_MARK_ANY_KIND = 4294967295;
458
+ export declare const OT_MD_CONCEAL = 1;
459
+ export declare const OT_MD_HYPERLINKS = 2;
460
+ export declare const OT_MD_MATH = 4;
461
+ export declare const OT_MD_HOOK = 8;
462
+ export declare const OT_MD_HOOK_FILTER_BYTE_COUNT_MAX = 256;
463
+ export declare const OT_MD_PARAGRAPH = 0;
464
+ export declare const OT_MD_HEADING = 1;
465
+ export declare const OT_MD_CODE = 2;
466
+ export declare const OT_MD_HTML = 3;
467
+ export declare const OT_MD_RULE = 4;
468
+ export declare const OT_MD_TABLE = 5;
469
+ export declare const OT_MD_TABLE_ROW = 6;
470
+ export declare const OT_MD_TABLE_CELL = 7;
471
+ export declare const OT_MD_QUOTE = 8;
472
+ export declare const OT_MD_LIST = 9;
473
+ export declare const OT_MD_ITEM = 10;
474
+ export declare const OT_MD_BLOCK_CLOSED = 1;
475
+ export declare const OT_MD_BLOCK_SETEXT = 2;
476
+ export declare const OT_MD_BLOCK_ORDERED = 4;
477
+ export declare const OT_MD_BLOCK_TIGHT = 8;
478
+ export declare const OT_MD_BLOCK_TASK = 16;
479
+ export declare const OT_MD_BLOCK_CHECKED = 32;
480
+ export declare const OT_MD_BLOCK_BLANK_AFTER = 64;
481
+ export declare const OT_MD_BLOCK_FENCED = 128;
482
+ export declare const OT_MD_BLOCK_HOOKED = 256;
483
+ export declare const OT_MD_BLOCK_MATH = 512;
484
+ export declare const OT_MD_BLOCK_HEADER = 1024;
485
+ export declare const OT_MD_BLOCK_OPEN = 2048;
486
+ export declare const OT_MD_BLOCK_ALIGN_LEFT = 4096;
487
+ export declare const OT_MD_BLOCK_ALIGN_RIGHT = 8192;
488
+ export declare const OT_MD_SPAN_CODE = 1;
489
+ export declare const OT_MD_SPAN_MATH = 2;
490
+ export declare const OT_EDITOR_MOVE_UP = 0;
491
+ export declare const OT_EDITOR_MOVE_DOWN = 1;
492
+ export declare const OT_EDITOR_GOTO_LINE_END = 2;
493
+ export declare const OT_EDITOR_DELETE_SELECTION = 3;
494
+ export declare const OT_EDITOR_CURSOR_OFFSET = 4;
495
+ export declare const OT_EDITOR_WRAP_MODE = 5;
496
+ export declare const OT_EDITOR_TAB_INDICATOR = 6;
497
+ export declare const OT_EDITOR_SELECT_SET = 0;
498
+ export declare const OT_EDITOR_SELECT_UPDATE = 1;
499
+ export declare const OT_EDITOR_SELECT_RESET = 2;
500
+ export declare const OT_EDITOR_SELECT_LOCAL = 3;
501
+ export declare const OT_EDITOR_SELECT_LOCAL_UPDATE = 4;
502
+ export declare const OT_EDITOR_SELECT_LOCAL_RESET = 5;
503
+ export declare const OT_EDITOR_SELECT_CELL = 6;
504
+ export declare const OT_EDITOR_SELECT_OCCUPANCY = 7;
505
+ export declare const OT_EDITOR_SELECT_INCLUSIVE = 8;
506
+ export declare const OT_EDITOR_SELECT_COLORS = 9;
507
+ export declare const OT_SELECT_DOCUMENT_SET = 0;
508
+ export declare const OT_SELECT_DOCUMENT_UPDATE = 1;
509
+ export declare const OT_SELECT_DOCUMENT_RESET = 2;
510
+ export declare const OT_SELECT_VIEWPORT_SET = 3;
511
+ export declare const OT_SELECT_VIEWPORT_UPDATE = 4;
512
+ export declare const OT_SELECT_VIEWPORT_RESET = 5;
513
+ export declare const OT_SELECTION_CELL = 0;
514
+ export declare const OT_SELECTION_WORD = 1;
515
+ export declare const OT_SELECTION_LINE = 2;
516
+ export declare const OT_SELECTION_OCCUPANCY_CELL = 0;
517
+ export declare const OT_SELECTION_OCCUPANCY_BOUNDARY = 1;
518
+ export declare const OT_EDITOR_POSITION_CURSOR = 0;
519
+ export declare const OT_EDITOR_POSITION_NEXT_WORD = 1;
520
+ export declare const OT_EDITOR_POSITION_PREV_WORD = 2;
521
+ export declare const OT_EDITOR_POSITION_EOL = 3;
522
+ export declare const OT_EDITOR_POSITION_VISUAL_SOL = 4;
523
+ export declare const OT_EDITOR_POSITION_VISUAL_EOL = 5;
524
+ export declare const OT_IMAGE_FIT = 0;
525
+ export declare const OT_IMAGE_COVER = 1;
526
+ export declare const OT_IMAGE_FILL = 2;
527
+ export declare const OT_IMAGE_PROTOCOL_AUTO = 0;
528
+ export declare const OT_IMAGE_PROTOCOL_KITTY = 1;
529
+ export declare const OT_IMAGE_PROTOCOL_SIXEL = 2;
530
+ export declare const OT_IMAGE_PROTOCOL_BLOCKS = 3;
531
+ export declare const OT_IMAGE_DRAW_SOURCE_WIDTH = 1;
532
+ export declare const OT_IMAGE_DRAW_SOURCE_HEIGHT = 2;
533
+ export declare const OT_IMAGE_ENCODED_BYTES_MAX = 67108864;
534
+ export declare const OT_IMAGE_FORMAT_UNKNOWN = 0;
535
+ export declare const OT_IMAGE_FORMAT_PNG = 1;
536
+ export declare const OT_IMAGE_FORMAT_RGBA = 2;
537
+ export declare const OT_IMAGE_FORMAT_JPEG = 3;
538
+ export declare const OT_IMAGE_FORMAT_WEBP = 4;
539
+ export declare const OT_IMAGE_FORMAT_GIF = 5;
540
+ export declare const OT_IMAGE_ASSUMED_SRGB = 0;
541
+ export declare const OT_IMAGE_EXPLICIT_SRGB = 1;
542
+ export declare const OT_IMAGE_RGBA8 = 0;
543
+ export declare const OT_IMAGE_BGRA8 = 1;
544
+ export declare const OT_IMAGE_ALPHA_STRAIGHT = 0;
545
+ export declare const OT_IMAGE_ALPHA_OPAQUE = 1;
546
+ export declare const OT_IMAGE_FILTER_DEFAULT = 0;
547
+ export declare const OT_IMAGE_FILTER_AREA = 1;
548
+ export declare const OT_IMAGE_FILTER_TRIANGLE = 2;
549
+ export declare const OT_IMAGE_FILTER_CUBIC_BSPLINE = 3;
550
+ export declare const OT_IMAGE_FILTER_CATMULL_ROM = 4;
551
+ export declare const OT_IMAGE_FILTER_MITCHELL = 5;
552
+ export declare const OT_IMAGE_FILTER_NEAREST = 6;
553
+ export declare const OT_IMAGE_ROTATE_90 = 0;
554
+ export declare const OT_IMAGE_ROTATE_180 = 1;
555
+ export declare const OT_IMAGE_ROTATE_270 = 2;
556
+ export declare const OT_IMAGE_FLIP = 3;
557
+ export declare const OT_IMAGE_FLOP = 4;
558
+ export declare const OT_IMAGE_BLEND_SOURCE_OVER = 0;
559
+ export declare const OT_IMAGE_BLEND_SOURCE = 1;
560
+ export declare const OT_IMAGE_BLEND_DESTINATION_OVER = 2;
561
+ export declare const OT_VIDEO_OPEN_NO_AUDIO = 1;
562
+ export declare const OT_VIDEO_PLAYING = 1;
563
+ export declare const OT_VIDEO_ENDED = 2;
564
+ export declare const OT_VIDEO_BUFFERING = 4;
565
+ export declare const OT_VIDEO_AUDIO = 8;
566
+ export declare const OT_VIDEO_HAS_FRAME = 16;
567
+ export declare const OT_VIDEO_ERROR = 32;
568
+ export declare const OT_AUDIO_START_NO_DEVICE = 1;
569
+ export declare const OT_TEXT_VIEW_WRAP_WIDTH = 0;
570
+ export declare const OT_TEXT_VIEW_WRAP_MODE = 1;
571
+ export declare const OT_TEXT_VIEW_FIRST_LINE_OFFSET = 2;
572
+ export declare const OT_TEXT_VIEW_TAB_INDICATOR = 3;
573
+ export declare const OT_TEXT_VIEW_TRUNCATE = 4;
574
+ export declare const OT_TEXT_VIEW_TEXT_ALIGN = 5;
575
+ export declare const OT_TEXT_REPLACEMENT_COUNT_MAX = 256;
576
+ export declare const OT_TEXT_REPLACEMENT_CHUNKS_MAX = 4096;
577
+ export declare const OT_TEXT_REPLACEMENT_BYTES_MAX = 4194304;
578
+ export declare const OT_TEXT_REPLACEMENT_URL_BYTES_MAX = 1048576;
579
+ export declare const OT_BUFFER_TEXT_BYTES_MAX = 65536;
580
+ export declare const OT_BUFFER_DRAW_CLEAR = 0;
581
+ export declare const OT_BUFFER_DRAW_FILL = 1;
582
+ export declare const OT_BUFFER_DRAW_TEXT = 2;
583
+ export declare const OT_BUFFER_DRAW_CELL = 3;
584
+ export declare const OT_BUFFER_DRAW_CELL_BLEND = 4;
585
+ export declare const OT_BUFFER_DRAW_CHAR = 5;
586
+ export declare const OT_BUFFER_DRAW_BOX = 6;
587
+ export declare const OT_BUFFER_DRAW_COMPOSE = 7;
588
+ export declare const OT_BUFFER_DRAW_RESPECT_ALPHA = 8;
589
+ export declare const OT_BUFFER_DRAW_HAS_BACKGROUND = 1;
590
+ export declare const OT_BUFFER_DRAW_HAS_SOURCE_WIDTH = 2;
591
+ export declare const OT_BUFFER_DRAW_HAS_SOURCE_HEIGHT = 4;
592
+ export declare const OT_BUFFER_DRAW_FIT_ELLIPSIS = 16;
593
+ export declare const OT_BUFFER_STACK_DEPTH_MAX = 256;
594
+ export declare const OT_BUFFER_STACK_GET_OPACITY = 0;
595
+ export declare const OT_BUFFER_STACK_PUSH_SCISSOR = 1;
596
+ export declare const OT_BUFFER_STACK_POP_SCISSOR = 2;
597
+ export declare const OT_BUFFER_STACK_CLEAR_SCISSORS = 3;
598
+ export declare const OT_BUFFER_STACK_PUSH_OPACITY = 4;
599
+ export declare const OT_BUFFER_STACK_POP_OPACITY = 5;
600
+ export declare const OT_BUFFER_STACK_CLEAR_OPACITY = 6;
601
+ export declare const OT_BUFFER_GRID_INNER = 1;
602
+ export declare const OT_BUFFER_GRID_OUTER = 2;
603
+ export declare const OT_CELL_CHAR_KIND_MASK = 3221225472;
604
+ export declare const OT_CELL_CHAR_IMAGE = 1073741824;
605
+ export declare const OT_CELL_CHAR_GRAPHEME = 2147483648;
606
+ export declare const OT_CELL_CHAR_CONTINUATION = 3221225472;
607
+ export declare const OT_SESSION_CONTROL_PACKET_BYTES = 4096;
608
+ export declare const OT_TERMINAL_ALTERNATE_SCREEN = 1;
609
+ export declare const OT_TERMINAL_MOUSE = 2;
610
+ export declare const OT_TERMINAL_MOUSE_MOVEMENT = 4;
611
+ export declare const OT_TERMINAL_CLEAR_ON_CLOSE = 8;
612
+ export declare const OT_TERMINAL_REPLY_SENTINEL = 16;
613
+ export declare const OT_TERMINAL_SYNC_ALWAYS = 32;
614
+ export declare const OT_TERMINAL_SYNC_NEVER = 64;
615
+ export declare const OT_TERMINAL_HOST_MULTIPLEXER = 128;
616
+ export declare const OT_KITTY_KEYBOARD_DISAMBIGUATE = 1;
617
+ export declare const OT_KITTY_KEYBOARD_EVENT_TYPES = 2;
618
+ export declare const OT_KITTY_KEYBOARD_ALTERNATE_KEYS = 4;
619
+ export declare const OT_KITTY_KEYBOARD_ALL_KEYS_AS_ESCAPES = 8;
620
+ export declare const OT_KITTY_KEYBOARD_REPORT_TEXT = 16;
621
+ export declare const OT_KITTY_KEYBOARD_ALL = 31;
622
+ export declare const OT_CONTROL_CAPABILITY_RESPONSE = 1;
623
+ export declare const OT_CONTROL_TITLE = 2;
624
+ export declare const OT_CONTROL_MOUSE = 3;
625
+ export declare const OT_CONTROL_KITTY_KEYBOARD_FLAGS = 4;
626
+ export declare const OT_CONTROL_RESTORE_MODES = 5;
627
+ export declare const OT_CONTROL_QUERY_PIXEL_RESOLUTION = 6;
628
+ export declare const OT_CONTROL_QUERY_THEME_COLORS = 7;
629
+ export declare const OT_CONTROL_CURSOR = 8;
630
+ export declare const OT_CONTROL_RESET_BACKGROUND = 9;
631
+ export declare const OT_CONTROL_PALETTE_QUERY = 10;
632
+ export declare const OT_CONTROL_PROGRAM_STATUS = 11;
633
+ export declare const OT_CONTROL_END_REPLY_SENTINEL = 12;
634
+ export declare const OT_CURSOR_POSITION = 1;
635
+ export declare const OT_CURSOR_STYLE = 2;
636
+ export declare const OT_CURSOR_BLINKING = 4;
637
+ export declare const OT_CURSOR_COLOR = 8;
638
+ export declare const OT_CURSOR_MOUSE_POINTER = 16;
639
+ export declare const OT_PROGRAM_STATE_IDLE = 1;
640
+ export declare const OT_PROGRAM_STATE_WORKING = 2;
641
+ export declare const OT_PROGRAM_STATE_DONE = 3;
642
+ export declare const OT_PROGRAM_STATE_BLOCKED = 4;
643
+ export declare const OT_PROGRAM_STATE_ERROR = 5;
644
+ export declare const OT_PROGRAM_STATE_CLEAR = 6;
645
+ export declare const OT_PROGRAM_KIND_PERMISSION = 1;
646
+ export declare const OT_PROGRAM_KIND_QUESTION = 2;
647
+ export declare const OT_PROGRAM_KIND_AUTH = 3;
648
+ export declare const OT_PROGRAM_STATUS_PROGRESS = 1;
649
+ export declare const OT_CAP_KITTY_KEYBOARD = 1;
650
+ export declare const OT_CAP_KITTY_GRAPHICS = 2;
651
+ export declare const OT_CAP_RGB = 4;
652
+ export declare const OT_CAP_ANSI256 = 8;
653
+ export declare const OT_CAP_SGR_PIXELS = 16;
654
+ export declare const OT_CAP_COLOR_SCHEME_UPDATES = 32;
655
+ export declare const OT_CAP_EXPLICIT_WIDTH = 64;
656
+ export declare const OT_CAP_SCALED_TEXT = 128;
657
+ export declare const OT_CAP_SIXEL = 256;
658
+ export declare const OT_CAP_FOCUS_TRACKING = 512;
659
+ export declare const OT_CAP_SYNC = 1024;
660
+ export declare const OT_CAP_BRACKETED_PASTE = 2048;
661
+ export declare const OT_CAP_HYPERLINKS = 4096;
662
+ export declare const OT_CAP_OSC52 = 8192;
663
+ export declare const OT_CAP_NOTIFICATIONS = 16384;
664
+ export declare const OT_CAP_EXPLICIT_CURSOR_POSITIONING = 32768;
665
+ export declare const OT_CAP_REMOTE = 65536;
666
+ export declare const OT_CAP_PROGRAM_STATUS = 131072;
667
+ export declare const OT_TERMINAL_UNINITIALIZED = 0;
668
+ export declare const OT_TERMINAL_SETTING_UP = 1;
669
+ export declare const OT_TERMINAL_ACTIVE = 2;
670
+ export declare const OT_TERMINAL_SUSPENDING = 3;
671
+ export declare const OT_TERMINAL_SUSPENDED = 4;
672
+ export declare const OT_TERMINAL_RESUMING = 5;
673
+ export declare const OT_TERMINAL_CLOSING = 6;
674
+ export declare const OT_TERMINAL_RESTORED = 7;
675
+ export declare const OT_TERMINAL_FAILED = 8;
676
+ export declare const OT_TERMINAL_CANCELLED = 9;
677
+ export declare const OT_PUMP_IDLE = 0;
678
+ export declare const OT_PUMP_AGAIN = 1;
679
+ export declare const OT_PUMP_OUTPUT_PENDING = 2;
680
+ export declare const OT_PUMP_WAIT_UNTIL = 3;
681
+ export declare const OT_PUMP_CLOSED = 4;
682
+ export declare const OT_STDOUT_IDLE = 0;
683
+ export declare const OT_STDOUT_IN_FLIGHT = 1;
684
+ export declare const OT_INPUT_KEY = 1;
685
+ export declare const OT_INPUT_MOUSE = 2;
686
+ export declare const OT_INPUT_PASTE = 3;
687
+ export declare const OT_INPUT_FOCUS = 4;
688
+ export declare const OT_INPUT_REPLY = 5;
689
+ export declare const OT_INPUT_KEY_PRESS = 1;
690
+ export declare const OT_INPUT_KEY_REPEAT = 2;
691
+ export declare const OT_INPUT_KEY_RELEASE = 3;
692
+ export declare const OT_INPUT_MOUSE_DOWN = 1;
693
+ export declare const OT_INPUT_MOUSE_UP = 2;
694
+ export declare const OT_INPUT_MOUSE_MOVE = 3;
695
+ export declare const OT_INPUT_MOUSE_DRAG = 4;
696
+ export declare const OT_INPUT_MOUSE_SCROLL = 5;
697
+ export declare const OT_INPUT_MOUSE_BUTTON_NONE = 255;
698
+ export declare const OT_INPUT_FOCUS_OUT = 0;
699
+ export declare const OT_INPUT_FOCUS_IN = 1;
700
+ export declare const OT_INPUT_MOD_SHIFT = 1;
701
+ export declare const OT_INPUT_MOD_ALT = 2;
702
+ export declare const OT_INPUT_MOD_CTRL = 4;
703
+ export declare const OT_INPUT_MOD_SUPER = 8;
704
+ export declare const OT_INPUT_MOD_HYPER = 16;
705
+ export declare const OT_INPUT_MOD_META = 32;
706
+ export declare const OT_INPUT_MOD_CAPS_LOCK = 64;
707
+ export declare const OT_INPUT_MOD_NUM_LOCK = 128;
708
+ export declare const OT_INPUT_KEY_KITTY = 1;
709
+ export declare const OT_INPUT_KEY_TEXT_TRUNCATED = 2;
710
+ export declare const OT_INPUT_KEY_TYPED = 4;
711
+ export declare const OT_INPUT_PASTE_START = 1;
712
+ export declare const OT_INPUT_PASTE_END = 2;
713
+ export declare const OT_INPUT_REPLY_FRAGMENT = 1;
714
+ export declare const OT_INPUT_REPLY_CURSOR_POSITION = 2;
715
+ export declare const OT_INPUT_REPLY_CSI = 1;
716
+ export declare const OT_INPUT_REPLY_SS3 = 2;
717
+ export declare const OT_INPUT_REPLY_OSC = 3;
718
+ export declare const OT_INPUT_REPLY_DCS = 4;
719
+ export declare const OT_INPUT_REPLY_APC = 5;
720
+ export declare const OT_INPUT_KEY_ESCAPE = 27;
721
+ export declare const OT_INPUT_KEY_ENTER = 13;
722
+ export declare const OT_INPUT_KEY_TAB = 9;
723
+ export declare const OT_INPUT_KEY_BACKSPACE = 127;
724
+ export declare const OT_INPUT_KEY_INSERT = 57348;
725
+ export declare const OT_INPUT_KEY_DELETE = 57349;
726
+ export declare const OT_INPUT_KEY_LEFT = 57350;
727
+ export declare const OT_INPUT_KEY_RIGHT = 57351;
728
+ export declare const OT_INPUT_KEY_UP = 57352;
729
+ export declare const OT_INPUT_KEY_DOWN = 57353;
730
+ export declare const OT_INPUT_KEY_PAGE_UP = 57354;
731
+ export declare const OT_INPUT_KEY_PAGE_DOWN = 57355;
732
+ export declare const OT_INPUT_KEY_HOME = 57356;
733
+ export declare const OT_INPUT_KEY_END = 57357;
734
+ export declare const OT_INPUT_KEY_CAPS_LOCK = 57358;
735
+ export declare const OT_INPUT_KEY_SCROLL_LOCK = 57359;
736
+ export declare const OT_INPUT_KEY_NUM_LOCK = 57360;
737
+ export declare const OT_INPUT_KEY_PRINT_SCREEN = 57361;
738
+ export declare const OT_INPUT_KEY_PAUSE = 57362;
739
+ export declare const OT_INPUT_KEY_MENU = 57363;
740
+ export declare const OT_INPUT_KEY_F1 = 57364;
741
+ export declare const OT_INPUT_KEY_F35 = 57398;
742
+ export declare const OT_INPUT_KEY_KP_0 = 57399;
743
+ export declare const OT_INPUT_KEY_KP_9 = 57408;
744
+ export declare const OT_INPUT_KEY_KP_DECIMAL = 57409;
745
+ export declare const OT_INPUT_KEY_KP_DIVIDE = 57410;
746
+ export declare const OT_INPUT_KEY_KP_MULTIPLY = 57411;
747
+ export declare const OT_INPUT_KEY_KP_SUBTRACT = 57412;
748
+ export declare const OT_INPUT_KEY_KP_ADD = 57413;
749
+ export declare const OT_INPUT_KEY_KP_ENTER = 57414;
750
+ export declare const OT_INPUT_KEY_KP_EQUAL = 57415;
751
+ export declare const OT_INPUT_KEY_KP_SEPARATOR = 57416;
752
+ export declare const OT_INPUT_KEY_KP_LEFT = 57417;
753
+ export declare const OT_INPUT_KEY_KP_RIGHT = 57418;
754
+ export declare const OT_INPUT_KEY_KP_UP = 57419;
755
+ export declare const OT_INPUT_KEY_KP_DOWN = 57420;
756
+ export declare const OT_INPUT_KEY_KP_PAGE_UP = 57421;
757
+ export declare const OT_INPUT_KEY_KP_PAGE_DOWN = 57422;
758
+ export declare const OT_INPUT_KEY_KP_HOME = 57423;
759
+ export declare const OT_INPUT_KEY_KP_END = 57424;
760
+ export declare const OT_INPUT_KEY_KP_INSERT = 57425;
761
+ export declare const OT_INPUT_KEY_KP_DELETE = 57426;
762
+ export declare const OT_INPUT_KEY_KP_BEGIN = 57427;
763
+ export declare const OT_INPUT_KEY_MEDIA_PLAY = 57428;
764
+ export declare const OT_INPUT_KEY_MEDIA_PAUSE = 57429;
765
+ export declare const OT_INPUT_KEY_MEDIA_PLAY_PAUSE = 57430;
766
+ export declare const OT_INPUT_KEY_MEDIA_REVERSE = 57431;
767
+ export declare const OT_INPUT_KEY_MEDIA_STOP = 57432;
768
+ export declare const OT_INPUT_KEY_MEDIA_FAST_FORWARD = 57433;
769
+ export declare const OT_INPUT_KEY_MEDIA_REWIND = 57434;
770
+ export declare const OT_INPUT_KEY_MEDIA_TRACK_NEXT = 57435;
771
+ export declare const OT_INPUT_KEY_MEDIA_TRACK_PREVIOUS = 57436;
772
+ export declare const OT_INPUT_KEY_MEDIA_RECORD = 57437;
773
+ export declare const OT_INPUT_KEY_LOWER_VOLUME = 57438;
774
+ export declare const OT_INPUT_KEY_RAISE_VOLUME = 57439;
775
+ export declare const OT_INPUT_KEY_MUTE_VOLUME = 57440;
776
+ export declare const OT_INPUT_KEY_LEFT_SHIFT = 57441;
777
+ export declare const OT_INPUT_KEY_LEFT_CONTROL = 57442;
778
+ export declare const OT_INPUT_KEY_LEFT_ALT = 57443;
779
+ export declare const OT_INPUT_KEY_LEFT_SUPER = 57444;
780
+ export declare const OT_INPUT_KEY_LEFT_HYPER = 57445;
781
+ export declare const OT_INPUT_KEY_LEFT_META = 57446;
782
+ export declare const OT_INPUT_KEY_RIGHT_SHIFT = 57447;
783
+ export declare const OT_INPUT_KEY_RIGHT_CONTROL = 57448;
784
+ export declare const OT_INPUT_KEY_RIGHT_ALT = 57449;
785
+ export declare const OT_INPUT_KEY_RIGHT_SUPER = 57450;
786
+ export declare const OT_INPUT_KEY_RIGHT_HYPER = 57451;
787
+ export declare const OT_INPUT_KEY_RIGHT_META = 57452;
788
+ export declare const OT_INPUT_KEY_ISO_LEVEL3_SHIFT = 57453;
789
+ export declare const OT_INPUT_KEY_ISO_LEVEL5_SHIFT = 57454;
790
+ export declare const OT_INPUT_EXPECT_REPLIES = 1;
791
+ export declare const OT_INPUT_EXPECT_KITTY_KEYBOARD = 2;
792
+ export declare const OT_INPUT_EXPECT_CURSOR_POSITION = 4;
793
+ export declare const OT_INPUT_EXPECT_SENTINEL = 8;
794
+ export declare const OT_INPUT_EXPECT_ESCAPE_PREFIX = 16;
795
+ export declare const OT_INPUT_EVENTS_MIN = 4;
796
+ export declare const OT_INPUT_PAYLOAD_BYTES_MIN = 4384;
797
+ export declare const OT_INPUT_TIMEOUT_NS = 20000000;
798
+ export declare const OT_DIAGNOSTIC_MESSAGE_BYTES = 4096;
799
+ export declare const OT_DIAGNOSTIC_TRUNCATED = 1;
800
+ export declare const OT_DIAGNOSTIC_QUEUE_MAX = 64;
801
+ export declare const OT_SCENE_RECORD_BYTES_MAX = 67108864;
802
+ export declare const OT_SCENE_RECORD_PHASE_BEFORE = 0;
803
+ export declare const OT_SCENE_RECORD_PHASE_SELF = 1;
804
+ export declare const OT_SCENE_RECORD_PHASE_AFTER = 2;
805
+ export declare const OT_SCENE_RECORD_SLOT = 0;
806
+ export declare const OT_SCENE_RECORD_DRAW = 1;
807
+ export declare const OT_SCENE_RECORD_STACK = 2;
808
+ export declare const OT_SCENE_RECORD_GRID = 3;
809
+ export declare const OT_SCENE_RECORD_PACKED = 4;
810
+ export declare const OT_SCENE_RECORD_SUPERSAMPLE = 5;
811
+ export declare const OT_SCENE_RECORD_GRAYSCALE = 6;
812
+ export declare const OT_SCENE_RECORD_COLOR_MATRIX = 7;
813
+ export declare const OT_SCENE_RECORD_TEXT_VIEW = 8;
814
+ export declare const OT_SCENE_RECORD_EDITOR_VIEW = 9;
815
+ export declare const OT_SCENE_RECORD_SCENE_BODY = 10;
816
+ export declare const OT_SCENE_RECORD_IMAGE = 11;
817
+ export declare const OT_SCENE_RECORD_UNICODE = 12;
818
+ export declare const OT_SCENE_RECORD_CELLS = 13;
819
+ export declare const OT_SCENE_RECORD_GRAYSCALE_FOREGROUND = 1;
820
+ export declare const OT_SCENE_RECORD_GRAYSCALE_BACKGROUND = 2;
821
+ export declare const OT_SCENE_RECORD_GRAYSCALE_SUPERSAMPLED = 4;
822
+ export declare const OT_INPUT_RESET_KEEP_REPLY = 1;
823
+ export declare const OT_CLIPBOARD_OPERATION_PENDING = 0;
824
+ export declare const OT_CLIPBOARD_OPERATION_READ = 1;
825
+ export declare const OT_CLIPBOARD_OPERATION_EMPTY = 2;
826
+ export declare const OT_CLIPBOARD_OPERATION_WRITTEN = 3;
827
+ export declare const OT_CLIPBOARD_OPERATION_CLEARED = 4;
828
+ export declare const OT_CLIPBOARD_OPERATION_UNSUPPORTED = 5;
829
+ export declare const OT_CLIPBOARD_OPERATION_CANCELLED = 6;
830
+ export declare const OT_CLIPBOARD_OPERATION_TIMED_OUT = 7;
831
+ export declare const OT_CLIPBOARD_OPERATION_LIMIT_EXCEEDED = 8;
832
+ export declare const OT_CLIPBOARD_OPERATION_FAILED = 9;
833
+ export declare const OT_CLIPBOARD_OPERATION_INVALID_HANDLE = 10;
834
+ export declare const OT_CLIPBOARD_START_OK = 0;
835
+ export declare const OT_CLIPBOARD_START_INVALID_SERVICE = 1;
836
+ export declare const OT_CLIPBOARD_START_SHUTTING_DOWN = 2;
837
+ export declare const OT_CLIPBOARD_START_LIMIT_EXCEEDED = 3;
838
+ export declare const OT_CLIPBOARD_START_INVALID_ARGUMENT = 4;
839
+ export declare const OT_CLIPBOARD_START_OUT_OF_MEMORY = 5;
840
+ export declare const OT_CLIPBOARD_CANCEL_REQUESTED = 0;
841
+ export declare const OT_CLIPBOARD_CANCEL_ALREADY_TERMINAL = 1;
842
+ export declare const OT_CLIPBOARD_CANCEL_INVALID_HANDLE = 2;
843
+ export declare const OT_CLIPBOARD_COPY_OK = 0;
844
+ export declare const OT_CLIPBOARD_COPY_BUFFER_TOO_SMALL = 1;
845
+ export declare const OT_CLIPBOARD_COPY_INVALID_HANDLE = 2;
846
+ export declare const OT_CLIPBOARD_COPY_INVALID_STATE = 3;
847
+ export declare const OT_CLIPBOARD_COPY_INVALID_ARGUMENT = 4;
848
+ export declare const OT_CLIPBOARD_DESTROY_DESTROYED = 0;
849
+ export declare const OT_CLIPBOARD_DESTROY_NOT_READY = 1;
850
+ export declare const OT_CLIPBOARD_DESTROY_INVALID_HANDLE = 2;
851
+ export declare const OT_CLIPBOARD_SHUTDOWN_PENDING = 0;
852
+ export declare const OT_CLIPBOARD_SHUTDOWN_READY = 1;
853
+ export declare const OT_CLIPBOARD_SHUTDOWN_INVALID_HANDLE = 2;
1
854
  export declare const nativeSymbols: {
2
855
  readonly ot_scene_set_hooks: {
3
856
  readonly args: readonly ["ptr", "buffer", "buffer"];
@@ -27,6 +880,10 @@ export declare const nativeSymbols: {
27
880
  readonly args: readonly ["ptr", "buffer", "ptr", "u32"];
28
881
  readonly returns: "i32";
29
882
  };
883
+ readonly ot_scene_clear_children: {
884
+ readonly args: readonly ["ptr", "buffer"];
885
+ readonly returns: "i32";
886
+ };
30
887
  readonly ot_scene_set_measure: {
31
888
  readonly args: readonly ["ptr", "buffer", "ptr"];
32
889
  readonly returns: "i32";
@@ -35,6 +892,14 @@ export declare const nativeSymbols: {
35
892
  readonly args: readonly ["ptr", "buffer", "buffer"];
36
893
  readonly returns: "i32";
37
894
  };
895
+ readonly ot_scene_reaches_hooks: {
896
+ readonly args: readonly ["ptr", "buffer", "buffer"];
897
+ readonly returns: "i32";
898
+ };
899
+ readonly ot_scene_painted: {
900
+ readonly args: readonly ["ptr", "buffer", "buffer"];
901
+ readonly returns: "i32";
902
+ };
38
903
  readonly ot_scene_mark_dirty: {
39
904
  readonly args: readonly ["ptr", "buffer"];
40
905
  readonly returns: "i32";
@@ -139,6 +1004,10 @@ export declare const nativeSymbols: {
139
1004
  readonly args: readonly ["ptr", "buffer", "u32", "ptr", "u32", "buffer"];
140
1005
  readonly returns: "i32";
141
1006
  };
1007
+ readonly ot_scene_get_text_byte_at: {
1008
+ readonly args: readonly ["ptr", "buffer", "i32", "i32", "buffer"];
1009
+ readonly returns: "i32";
1010
+ };
142
1011
  readonly ot_scene_get_layout: {
143
1012
  readonly args: readonly ["ptr", "buffer", "u32", "buffer"];
144
1013
  readonly returns: "i32";
@@ -151,6 +1020,10 @@ export declare const nativeSymbols: {
151
1020
  readonly args: readonly ["ptr", "buffer", "i32", "i32", "buffer"];
152
1021
  readonly returns: "i32";
153
1022
  };
1023
+ readonly ot_scene_hit_test_excluding: {
1024
+ readonly args: readonly ["ptr", "buffer", "i32", "i32", "u32", "buffer"];
1025
+ readonly returns: "i32";
1026
+ };
154
1027
  readonly ot_scene_get_stats: {
155
1028
  readonly args: readonly ["ptr", "buffer", "buffer"];
156
1029
  readonly returns: "i32";
@@ -335,6 +1208,10 @@ export declare const nativeSymbols: {
335
1208
  readonly args: readonly ["ptr", "buffer", "u32", "u32", "u32", "u32", "u32", "ptr", "u32", "buffer"];
336
1209
  readonly returns: "i32";
337
1210
  };
1211
+ readonly ot_edit_buffer_convert_offset: {
1212
+ readonly args: readonly ["ptr", "buffer", "u32", "u32", "buffer"];
1213
+ readonly returns: "i32";
1214
+ };
338
1215
  readonly ot_edit_buffer_measure_text: {
339
1216
  readonly args: readonly ["ptr", "buffer", "ptr", "u32", "buffer"];
340
1217
  readonly returns: "i32";
@@ -367,6 +1244,66 @@ export declare const nativeSymbols: {
367
1244
  readonly args: readonly ["ptr", "buffer", "u32", "ptr", "u32", "buffer"];
368
1245
  readonly returns: "i32";
369
1246
  };
1247
+ readonly ot_context_group_set: {
1248
+ readonly args: readonly ["ptr", "buffer", "u32", "buffer", "u32", "buffer"];
1249
+ readonly returns: "i32";
1250
+ };
1251
+ readonly ot_edit_buffer_set_layer: {
1252
+ readonly args: readonly ["ptr", "buffer", "u32", "u32", "u32", "ptr", "u32"];
1253
+ readonly returns: "i32";
1254
+ };
1255
+ readonly ot_edit_buffer_mark: {
1256
+ readonly args: readonly ["ptr", "buffer", "u32", "ptr", "ptr"];
1257
+ readonly returns: "i32";
1258
+ };
1259
+ readonly ot_edit_buffer_get_marks: {
1260
+ readonly args: readonly ["ptr", "buffer", "u32", "u32", "ptr", "u32", "buffer"];
1261
+ readonly returns: "i32";
1262
+ };
1263
+ readonly ot_markdown_create: {
1264
+ readonly args: readonly ["ptr", "buffer", "buffer"];
1265
+ readonly returns: "i32";
1266
+ };
1267
+ readonly ot_markdown_destroy: {
1268
+ readonly args: readonly ["ptr", "buffer"];
1269
+ readonly returns: "i32";
1270
+ };
1271
+ readonly ot_markdown_set_options: {
1272
+ readonly args: readonly ["ptr", "buffer", "buffer", "buffer"];
1273
+ readonly returns: "i32";
1274
+ };
1275
+ readonly ot_markdown_append: {
1276
+ readonly args: readonly ["ptr", "buffer", "ptr", "u32", "buffer"];
1277
+ readonly returns: "i32";
1278
+ };
1279
+ readonly ot_markdown_set: {
1280
+ readonly args: readonly ["ptr", "buffer", "ptr", "u32", "buffer"];
1281
+ readonly returns: "i32";
1282
+ };
1283
+ readonly ot_markdown_finish: {
1284
+ readonly args: readonly ["ptr", "buffer", "buffer"];
1285
+ readonly returns: "i32";
1286
+ };
1287
+ readonly ot_markdown_get_source: {
1288
+ readonly args: readonly ["ptr", "buffer", "buffer", "buffer"];
1289
+ readonly returns: "i32";
1290
+ };
1291
+ readonly ot_markdown_read_changes: {
1292
+ readonly args: readonly ["ptr", "buffer", "ptr", "u32", "buffer"];
1293
+ readonly returns: "i32";
1294
+ };
1295
+ readonly ot_markdown_read_source: {
1296
+ readonly args: readonly ["ptr", "buffer", "u32", "ptr", "u32", "buffer"];
1297
+ readonly returns: "i32";
1298
+ };
1299
+ readonly ot_markdown_read_leaf: {
1300
+ readonly args: readonly ["ptr", "buffer", "u32", "ptr", "u32", "buffer", "ptr", "ptr", "u32", "buffer", "ptr", "u32", "buffer"];
1301
+ readonly returns: "i32";
1302
+ };
1303
+ readonly ot_markdown_bind: {
1304
+ readonly args: readonly ["ptr", "buffer", "u32", "buffer"];
1305
+ readonly returns: "i32";
1306
+ };
370
1307
  readonly ot_editor_view_set_viewport: {
371
1308
  readonly args: readonly ["ptr", "buffer", "buffer", "u32", "u32"];
372
1309
  readonly returns: "i32";
@@ -695,6 +1632,10 @@ export declare const nativeSymbols: {
695
1632
  readonly args: readonly ["ptr", "buffer", "u32", "ptr", "u32", "buffer"];
696
1633
  readonly returns: "i32";
697
1634
  };
1635
+ readonly ot_text_buffer_set_layer: {
1636
+ readonly args: readonly ["ptr", "buffer", "u32", "u32", "u32", "ptr", "u32"];
1637
+ readonly returns: "i32";
1638
+ };
698
1639
  readonly ot_text_buffer_view_set_viewport: {
699
1640
  readonly args: readonly ["ptr", "buffer", "buffer", "u32"];
700
1641
  readonly returns: "i32";
@@ -3629,6 +4570,246 @@ export declare const nativeLayouts: {
3629
4570
  };
3630
4571
  };
3631
4572
  };
4573
+ readonly ot_highlight_run: {
4574
+ readonly size: 12;
4575
+ readonly alignment: 4;
4576
+ readonly fields: {
4577
+ readonly start_byte: {
4578
+ readonly offset: 0;
4579
+ readonly size: 4;
4580
+ readonly alignment: 4;
4581
+ readonly type: "u32";
4582
+ };
4583
+ readonly end_byte: {
4584
+ readonly offset: 4;
4585
+ readonly size: 4;
4586
+ readonly alignment: 4;
4587
+ readonly type: "u32";
4588
+ };
4589
+ readonly group_set: {
4590
+ readonly offset: 8;
4591
+ readonly size: 4;
4592
+ readonly alignment: 4;
4593
+ readonly type: "u32";
4594
+ };
4595
+ };
4596
+ };
4597
+ readonly ot_edit_mark: {
4598
+ readonly size: 76;
4599
+ readonly alignment: 4;
4600
+ readonly fields: {
4601
+ readonly struct_size: {
4602
+ readonly offset: 0;
4603
+ readonly size: 4;
4604
+ readonly alignment: 4;
4605
+ readonly type: "u32";
4606
+ };
4607
+ readonly abi_version: {
4608
+ readonly offset: 4;
4609
+ readonly size: 4;
4610
+ readonly alignment: 4;
4611
+ readonly type: "u32";
4612
+ };
4613
+ readonly id: {
4614
+ readonly offset: 8;
4615
+ readonly size: 4;
4616
+ readonly alignment: 4;
4617
+ readonly type: "u32";
4618
+ };
4619
+ readonly kind: {
4620
+ readonly offset: 12;
4621
+ readonly size: 4;
4622
+ readonly alignment: 4;
4623
+ readonly type: "u32";
4624
+ };
4625
+ readonly flags: {
4626
+ readonly offset: 16;
4627
+ readonly size: 4;
4628
+ readonly alignment: 4;
4629
+ readonly type: "u32";
4630
+ };
4631
+ readonly style: {
4632
+ readonly offset: 20;
4633
+ readonly size: 4;
4634
+ readonly alignment: 4;
4635
+ readonly type: "u32";
4636
+ };
4637
+ readonly value: {
4638
+ readonly offset: 24;
4639
+ readonly size: 32;
4640
+ readonly alignment: 4;
4641
+ readonly type: "ot_editor_style";
4642
+ };
4643
+ readonly priority: {
4644
+ readonly offset: 56;
4645
+ readonly size: 4;
4646
+ readonly alignment: 4;
4647
+ readonly type: "u32";
4648
+ };
4649
+ readonly start: {
4650
+ readonly offset: 60;
4651
+ readonly size: 4;
4652
+ readonly alignment: 4;
4653
+ readonly type: "u32";
4654
+ };
4655
+ readonly end: {
4656
+ readonly offset: 64;
4657
+ readonly size: 4;
4658
+ readonly alignment: 4;
4659
+ readonly type: "u32";
4660
+ };
4661
+ readonly start_byte: {
4662
+ readonly offset: 68;
4663
+ readonly size: 4;
4664
+ readonly alignment: 4;
4665
+ readonly type: "u32";
4666
+ };
4667
+ readonly end_byte: {
4668
+ readonly offset: 72;
4669
+ readonly size: 4;
4670
+ readonly alignment: 4;
4671
+ readonly type: "u32";
4672
+ };
4673
+ };
4674
+ };
4675
+ readonly ot_markdown_options: {
4676
+ readonly size: 296;
4677
+ readonly alignment: 8;
4678
+ readonly fields: {
4679
+ readonly struct_size: {
4680
+ readonly offset: 0;
4681
+ readonly size: 4;
4682
+ readonly alignment: 4;
4683
+ readonly type: "u32";
4684
+ };
4685
+ readonly abi_version: {
4686
+ readonly offset: 4;
4687
+ readonly size: 4;
4688
+ readonly alignment: 4;
4689
+ readonly type: "u32";
4690
+ };
4691
+ readonly flags: {
4692
+ readonly offset: 8;
4693
+ readonly size: 4;
4694
+ readonly alignment: 4;
4695
+ readonly type: "u32";
4696
+ };
4697
+ readonly source_byte_limit: {
4698
+ readonly offset: 12;
4699
+ readonly size: 4;
4700
+ readonly alignment: 4;
4701
+ readonly type: "u32";
4702
+ };
4703
+ readonly syntax_style: {
4704
+ readonly offset: 16;
4705
+ readonly size: 16;
4706
+ readonly alignment: 8;
4707
+ readonly type: "ot_handle";
4708
+ };
4709
+ readonly hook_filter_byte_count: {
4710
+ readonly offset: 32;
4711
+ readonly size: 4;
4712
+ readonly alignment: 4;
4713
+ readonly type: "u32";
4714
+ };
4715
+ readonly reserved: {
4716
+ readonly offset: 36;
4717
+ readonly size: 4;
4718
+ readonly alignment: 4;
4719
+ readonly type: "u32";
4720
+ };
4721
+ readonly hook_filter: {
4722
+ readonly offset: 40;
4723
+ readonly size: 256;
4724
+ readonly alignment: 1;
4725
+ readonly type: "[256]u8";
4726
+ };
4727
+ };
4728
+ };
4729
+ readonly ot_markdown_result: {
4730
+ readonly size: 12;
4731
+ readonly alignment: 4;
4732
+ readonly fields: {
4733
+ readonly changed_block_count: {
4734
+ readonly offset: 0;
4735
+ readonly size: 4;
4736
+ readonly alignment: 4;
4737
+ readonly type: "u32";
4738
+ };
4739
+ readonly committed_top_level_count: {
4740
+ readonly offset: 4;
4741
+ readonly size: 4;
4742
+ readonly alignment: 4;
4743
+ readonly type: "u32";
4744
+ };
4745
+ readonly removed_from_index: {
4746
+ readonly offset: 8;
4747
+ readonly size: 4;
4748
+ readonly alignment: 4;
4749
+ readonly type: "u32";
4750
+ };
4751
+ };
4752
+ };
4753
+ readonly ot_markdown_block: {
4754
+ readonly size: 32;
4755
+ readonly alignment: 4;
4756
+ readonly fields: {
4757
+ readonly index: {
4758
+ readonly offset: 0;
4759
+ readonly size: 4;
4760
+ readonly alignment: 4;
4761
+ readonly type: "u32";
4762
+ };
4763
+ readonly parent_index: {
4764
+ readonly offset: 4;
4765
+ readonly size: 4;
4766
+ readonly alignment: 4;
4767
+ readonly type: "u32";
4768
+ };
4769
+ readonly kind: {
4770
+ readonly offset: 8;
4771
+ readonly size: 2;
4772
+ readonly alignment: 2;
4773
+ readonly type: "u16";
4774
+ };
4775
+ readonly flags: {
4776
+ readonly offset: 10;
4777
+ readonly size: 2;
4778
+ readonly alignment: 2;
4779
+ readonly type: "u16";
4780
+ };
4781
+ readonly source_start_byte: {
4782
+ readonly offset: 12;
4783
+ readonly size: 4;
4784
+ readonly alignment: 4;
4785
+ readonly type: "u32";
4786
+ };
4787
+ readonly source_end_byte: {
4788
+ readonly offset: 16;
4789
+ readonly size: 4;
4790
+ readonly alignment: 4;
4791
+ readonly type: "u32";
4792
+ };
4793
+ readonly info_start_byte: {
4794
+ readonly offset: 20;
4795
+ readonly size: 4;
4796
+ readonly alignment: 4;
4797
+ readonly type: "u32";
4798
+ };
4799
+ readonly info_end_byte: {
4800
+ readonly offset: 24;
4801
+ readonly size: 4;
4802
+ readonly alignment: 4;
4803
+ readonly type: "u32";
4804
+ };
4805
+ readonly number: {
4806
+ readonly offset: 28;
4807
+ readonly size: 4;
4808
+ readonly alignment: 4;
4809
+ readonly type: "u32";
4810
+ };
4811
+ };
4812
+ };
3632
4813
  readonly ot_editor_viewport: {
3633
4814
  readonly size: 24;
3634
4815
  readonly alignment: 4;
@@ -5807,6 +6988,72 @@ export declare const nativeLayouts: {
5807
6988
  };
5808
6989
  };
5809
6990
  };
6991
+ readonly ot_scene_cell: {
6992
+ readonly size: 24;
6993
+ readonly alignment: 4;
6994
+ readonly fields: {
6995
+ readonly character: {
6996
+ readonly offset: 0;
6997
+ readonly size: 4;
6998
+ readonly alignment: 4;
6999
+ readonly type: "u32";
7000
+ };
7001
+ readonly attributes: {
7002
+ readonly offset: 4;
7003
+ readonly size: 4;
7004
+ readonly alignment: 4;
7005
+ readonly type: "u32";
7006
+ };
7007
+ readonly foreground: {
7008
+ readonly offset: 8;
7009
+ readonly size: 8;
7010
+ readonly alignment: 2;
7011
+ readonly type: "[4]u16";
7012
+ };
7013
+ readonly background: {
7014
+ readonly offset: 16;
7015
+ readonly size: 8;
7016
+ readonly alignment: 2;
7017
+ readonly type: "[4]u16";
7018
+ };
7019
+ };
7020
+ };
7021
+ readonly ot_scene_record_cells: {
7022
+ readonly size: 24;
7023
+ readonly alignment: 4;
7024
+ readonly fields: {
7025
+ readonly header: {
7026
+ readonly offset: 0;
7027
+ readonly size: 8;
7028
+ readonly alignment: 4;
7029
+ readonly type: "ot_scene_record_header";
7030
+ };
7031
+ readonly x: {
7032
+ readonly offset: 8;
7033
+ readonly size: 4;
7034
+ readonly alignment: 4;
7035
+ readonly type: "i32";
7036
+ };
7037
+ readonly y: {
7038
+ readonly offset: 12;
7039
+ readonly size: 4;
7040
+ readonly alignment: 4;
7041
+ readonly type: "i32";
7042
+ };
7043
+ readonly width: {
7044
+ readonly offset: 16;
7045
+ readonly size: 4;
7046
+ readonly alignment: 4;
7047
+ readonly type: "u32";
7048
+ };
7049
+ readonly count: {
7050
+ readonly offset: 20;
7051
+ readonly size: 4;
7052
+ readonly alignment: 4;
7053
+ readonly type: "u32";
7054
+ };
7055
+ };
7056
+ };
5810
7057
  };
5811
7058
  export declare const nativeConstants: {
5812
7059
  readonly OT_CONTEXT_ABI_VERSION: 2;
@@ -5886,6 +7133,7 @@ export declare const nativeConstants: {
5886
7133
  readonly OT_STYLE_ENUM_OVERFLOW: 8;
5887
7134
  readonly OT_STYLE_ENUM_DISPLAY: 9;
5888
7135
  readonly OT_STYLE_ENUM_BOX_SIZING: 10;
7136
+ readonly OT_STYLE_ENUM_LAYOUT_MODE: 11;
5889
7137
  readonly OT_STYLE_FLOAT_FLEX: 0;
5890
7138
  readonly OT_STYLE_FLOAT_FLEX_GROW: 1;
5891
7139
  readonly OT_STYLE_FLOAT_FLEX_SHRINK: 2;
@@ -5955,6 +7203,24 @@ export declare const nativeConstants: {
5955
7203
  readonly OT_DISPLAY_NONE: 1;
5956
7204
  readonly OT_BOX_SIZING_BORDER_BOX: 0;
5957
7205
  readonly OT_BOX_SIZING_CONTENT_BOX: 1;
7206
+ readonly OT_LAYOUT_MODE_FLEX: 0;
7207
+ readonly OT_LAYOUT_MODE_LIST: 1;
7208
+ readonly OT_DISPLAY_CONTENTS: 2;
7209
+ readonly OT_YOGA_ERRATA_NONE: 0;
7210
+ readonly OT_YOGA_ERRATA_STRETCH_FLEX_BASIS: 1;
7211
+ readonly OT_YOGA_ERRATA_ABSOLUTE_POSITION_WITHOUT_INSETS_EXCLUDES_PADDING: 2;
7212
+ readonly OT_YOGA_ERRATA_ABSOLUTE_PERCENT_AGAINST_INNER_SIZE: 4;
7213
+ readonly OT_YOGA_ERRATA_ALL: 2147483647;
7214
+ readonly OT_YOGA_ERRATA_CLASSIC: 2147483646;
7215
+ readonly OT_YOGA_EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS: 0;
7216
+ readonly OT_YOGA_LOG_LEVEL_ERROR: 0;
7217
+ readonly OT_YOGA_LOG_LEVEL_WARN: 1;
7218
+ readonly OT_YOGA_LOG_LEVEL_INFO: 2;
7219
+ readonly OT_YOGA_LOG_LEVEL_DEBUG: 3;
7220
+ readonly OT_YOGA_LOG_LEVEL_VERBOSE: 4;
7221
+ readonly OT_YOGA_LOG_LEVEL_FATAL: 5;
7222
+ readonly OT_YOGA_NODE_TYPE_DEFAULT: 0;
7223
+ readonly OT_YOGA_NODE_TYPE_TEXT: 1;
5958
7224
  readonly OT_STYLE_ENUM_DIRECTION_MAX: 2;
5959
7225
  readonly OT_STYLE_ENUM_FLEX_DIRECTION_MAX: 3;
5960
7226
  readonly OT_STYLE_ENUM_JUSTIFY_CONTENT_MAX: 5;
@@ -5966,12 +7232,14 @@ export declare const nativeConstants: {
5966
7232
  readonly OT_STYLE_ENUM_OVERFLOW_MAX: 2;
5967
7233
  readonly OT_STYLE_ENUM_DISPLAY_MAX: 1;
5968
7234
  readonly OT_STYLE_ENUM_BOX_SIZING_MAX: 1;
7235
+ readonly OT_STYLE_ENUM_LAYOUT_MODE_MAX: 1;
5969
7236
  readonly OT_MEASURE_UNDEFINED: 0;
5970
7237
  readonly OT_MEASURE_EXACTLY: 1;
5971
7238
  readonly OT_MEASURE_AT_MOST: 2;
5972
7239
  readonly OT_LAYOUT_PUBLIC: 0;
5973
7240
  readonly OT_LAYOUT_YOGA: 1;
5974
7241
  readonly OT_LAYOUT_PAINT: 2;
7242
+ readonly OT_LAYOUT_CONTENT: 3;
5975
7243
  readonly OT_BORDER_NONE: 0;
5976
7244
  readonly OT_BORDER_LEFT: 1;
5977
7245
  readonly OT_BORDER_BOTTOM: 2;
@@ -5987,6 +7255,37 @@ export declare const nativeConstants: {
5987
7255
  readonly OT_COLOR_DEFAULT: 2;
5988
7256
  readonly OT_COLOR_CHANNEL_MASK: 255;
5989
7257
  readonly OT_COLOR_META_SHIFT: 8;
7258
+ readonly OT_COLOR_ANSI_0: 0;
7259
+ readonly OT_COLOR_ANSI_1: 8388608;
7260
+ readonly OT_COLOR_ANSI_2: 32768;
7261
+ readonly OT_COLOR_ANSI_3: 8421376;
7262
+ readonly OT_COLOR_ANSI_4: 128;
7263
+ readonly OT_COLOR_ANSI_5: 8388736;
7264
+ readonly OT_COLOR_ANSI_6: 32896;
7265
+ readonly OT_COLOR_ANSI_7: 12632256;
7266
+ readonly OT_COLOR_ANSI_8: 8421504;
7267
+ readonly OT_COLOR_ANSI_9: 16711680;
7268
+ readonly OT_COLOR_ANSI_10: 65280;
7269
+ readonly OT_COLOR_ANSI_11: 16776960;
7270
+ readonly OT_COLOR_ANSI_12: 255;
7271
+ readonly OT_COLOR_ANSI_13: 16711935;
7272
+ readonly OT_COLOR_ANSI_14: 65535;
7273
+ readonly OT_COLOR_ANSI_15: 16777215;
7274
+ readonly OT_COLOR_CUBE_BASE: 55;
7275
+ readonly OT_COLOR_CUBE_STEP: 40;
7276
+ readonly OT_COLOR_GRAY_BASE: 8;
7277
+ readonly OT_COLOR_GRAY_STEP: 10;
7278
+ readonly OT_ATTR_BOLD: 1;
7279
+ readonly OT_ATTR_DIM: 2;
7280
+ readonly OT_ATTR_ITALIC: 4;
7281
+ readonly OT_ATTR_UNDERLINE: 8;
7282
+ readonly OT_ATTR_BLINK: 16;
7283
+ readonly OT_ATTR_INVERSE: 32;
7284
+ readonly OT_ATTR_HIDDEN: 64;
7285
+ readonly OT_ATTR_STRIKETHROUGH: 128;
7286
+ readonly OT_ATTR_BASE_MASK: 255;
7287
+ readonly OT_ATTR_LINK_SHIFT: 8;
7288
+ readonly OT_ATTR_LINK_MASK: 16777215;
5990
7289
  readonly OT_SCENE_TEXT_SELECTION_RESET: 0;
5991
7290
  readonly OT_SCENE_TEXT_SELECTION_SET: 1;
5992
7291
  readonly OT_SCENE_TEXT_SELECTION_UPDATE: 2;
@@ -6006,6 +7305,10 @@ export declare const nativeConstants: {
6006
7305
  readonly OT_SCENE_FULL_PATH_UNRETAINED: 16;
6007
7306
  readonly OT_SCENE_FULL_PATH_OPTIONS: 32;
6008
7307
  readonly OT_SCENE_FULL_PATH_NON_LOCAL: 64;
7308
+ readonly OT_CURSOR_STYLE_BLOCK: 0;
7309
+ readonly OT_CURSOR_STYLE_LINE: 1;
7310
+ readonly OT_CURSOR_STYLE_UNDERLINE: 2;
7311
+ readonly OT_CURSOR_STYLE_DEFAULT: 3;
6009
7312
  readonly OT_SCENE_HOOK_UPDATE: 1;
6010
7313
  readonly OT_SCENE_HOOK_RESIZE: 2;
6011
7314
  readonly OT_SCENE_HOOK_LAYOUT_CHANGED: 4;
@@ -6061,6 +7364,7 @@ export declare const nativeConstants: {
6061
7364
  readonly OT_SCENE_SCROLL_ALIGN_NEAREST: 0;
6062
7365
  readonly OT_SCENE_SCROLL_ALIGN_START: 1;
6063
7366
  readonly OT_SCENE_SCROLL_ALIGN_END: 2;
7367
+ readonly OT_SCENE_SCROLL_PADDING_MAX: 65535;
6064
7368
  readonly OT_SCENE_SCROLL_CHANGED_OFFSET_X: 1;
6065
7369
  readonly OT_SCENE_SCROLL_CHANGED_OFFSET_Y: 2;
6066
7370
  readonly OT_SCENE_SCROLL_CHANGED_CONTENT: 4;
@@ -6082,6 +7386,7 @@ export declare const nativeConstants: {
6082
7386
  readonly OT_RENDER_PENDING: 1;
6083
7387
  readonly OT_RENDER_SKIPPED: 2;
6084
7388
  readonly OT_RENDER_FAILED: 3;
7389
+ readonly OT_SPLIT_SNAPSHOTS_MAX: 64;
6085
7390
  readonly OT_SESSION_BUFFER_CURRENT: 0;
6086
7391
  readonly OT_SESSION_BUFFER_NEXT: 1;
6087
7392
  readonly OT_WIDTH_METHOD_WCWIDTH: 0;
@@ -6089,10 +7394,37 @@ export declare const nativeConstants: {
6089
7394
  readonly OT_WIDTH_METHOD_NO_ZWJ: 2;
6090
7395
  readonly OT_WIDTH_METHOD_UNICODE_WIDE: 3;
6091
7396
  readonly OT_BUFFER_RESPECT_ALPHA: 1;
7397
+ readonly OT_EMBEDDED_TERMINAL_CURSOR_BAR: 0;
7398
+ readonly OT_EMBEDDED_TERMINAL_CURSOR_BLOCK: 1;
7399
+ readonly OT_EMBEDDED_TERMINAL_CURSOR_UNDERLINE: 2;
7400
+ readonly OT_EMBEDDED_TERMINAL_CURSOR_BLOCK_HOLLOW: 3;
7401
+ readonly OT_EMBEDDED_TERMINAL_MOD_SHIFT: 1;
7402
+ readonly OT_EMBEDDED_TERMINAL_MOD_CTRL: 2;
7403
+ readonly OT_EMBEDDED_TERMINAL_MOD_ALT: 4;
7404
+ readonly OT_EMBEDDED_TERMINAL_MOD_SUPER: 8;
7405
+ readonly OT_EMBEDDED_TERMINAL_MOD_CAPS_LOCK: 16;
7406
+ readonly OT_EMBEDDED_TERMINAL_MOD_NUM_LOCK: 32;
7407
+ readonly OT_EMBEDDED_TERMINAL_KEY_RELEASE: 0;
7408
+ readonly OT_EMBEDDED_TERMINAL_KEY_PRESS: 1;
7409
+ readonly OT_EMBEDDED_TERMINAL_KEY_REPEAT: 2;
7410
+ readonly OT_EMBEDDED_TERMINAL_MOUSE_PRESS: 0;
7411
+ readonly OT_EMBEDDED_TERMINAL_MOUSE_RELEASE: 1;
7412
+ readonly OT_EMBEDDED_TERMINAL_MOUSE_MOTION: 2;
7413
+ readonly OT_EMBEDDED_TERMINAL_BUTTON_NONE: -1;
7414
+ readonly OT_EMBEDDED_TERMINAL_BUTTON_UNKNOWN: 0;
7415
+ readonly OT_EMBEDDED_TERMINAL_BUTTON_LEFT: 1;
7416
+ readonly OT_EMBEDDED_TERMINAL_BUTTON_RIGHT: 2;
7417
+ readonly OT_EMBEDDED_TERMINAL_BUTTON_MIDDLE: 3;
7418
+ readonly OT_EMBEDDED_TERMINAL_BUTTON_FOUR: 4;
7419
+ readonly OT_EMBEDDED_TERMINAL_BUTTON_FIVE: 5;
7420
+ readonly OT_EMBEDDED_TERMINAL_BUTTON_SIX: 6;
7421
+ readonly OT_EMBEDDED_TERMINAL_BUTTON_SEVEN: 7;
7422
+ readonly OT_EMBEDDED_TERMINAL_INPUT_BYTES_MAX: 1048576;
6092
7423
  readonly OT_EMBEDDED_TERMINAL_INVALIDATE: 0;
6093
7424
  readonly OT_EMBEDDED_TERMINAL_SCROLL: 1;
6094
7425
  readonly OT_EMBEDDED_TERMINAL_CLEAR_SELECTION: 2;
6095
7426
  readonly OT_EMBEDDED_TERMINAL_SET_TRANSPARENT_BACKGROUND: 3;
7427
+ readonly OT_EMBEDDED_TERMINAL_RESPONSE_BYTES_MAX: 1048576;
6096
7428
  readonly OT_EDIT_CURSOR_CHANGED: 1;
6097
7429
  readonly OT_EDIT_CONTENT_CHANGED: 2;
6098
7430
  readonly OT_EDIT_HISTORY_CURSOR_CHANGED: 4;
@@ -6147,6 +7479,9 @@ export declare const nativeConstants: {
6147
7479
  readonly OT_EDIT_CLEAR: 10;
6148
7480
  readonly OT_EDIT_CLEAR_HISTORY: 11;
6149
7481
  readonly OT_EDIT_DEBUG_ROPE: 12;
7482
+ readonly OT_EDIT_CURSOR_OFFSET_ATOMIC: 13;
7483
+ readonly OT_EDIT_KEEP_OUTSIDE: 14;
7484
+ readonly OT_EDIT_ATOMIC: 1;
6150
7485
  readonly OT_EDIT_POSITION_CURSOR: 0;
6151
7486
  readonly OT_EDIT_POSITION_NEXT_WORD: 1;
6152
7487
  readonly OT_EDIT_POSITION_PREV_WORD: 2;
@@ -6156,15 +7491,60 @@ export declare const nativeConstants: {
6156
7491
  readonly OT_EDIT_POSITION_LINE_START: 6;
6157
7492
  readonly OT_EDIT_POSITION_END: 7;
6158
7493
  readonly OT_EDIT_POSITION_PREV_CHAR: 8;
7494
+ readonly OT_EDIT_BYTE_TO_CELL: 0;
7495
+ readonly OT_EDIT_CELL_TO_BYTE: 1;
7496
+ readonly OT_EDIT_UTF16_TO_CELL: 2;
7497
+ readonly OT_EDIT_CELL_TO_UTF16: 3;
6159
7498
  readonly OT_EDITOR_STYLE_FOREGROUND: 1;
6160
7499
  readonly OT_EDITOR_STYLE_BACKGROUND: 2;
6161
7500
  readonly OT_EDITOR_STYLE_ATTRIBUTES: 4;
7501
+ readonly OT_EDITOR_STYLE_ATTRIBUTE_MASK: 8;
6162
7502
  readonly OT_EDIT_HIGHLIGHT_ADD_LINE: 0;
6163
7503
  readonly OT_EDIT_HIGHLIGHT_ADD_RANGE: 1;
6164
7504
  readonly OT_EDIT_HIGHLIGHT_REMOVE_REF: 2;
6165
7505
  readonly OT_EDIT_HIGHLIGHT_CLEAR_LINE: 3;
6166
7506
  readonly OT_EDIT_HIGHLIGHT_CLEAR_ALL: 4;
6167
7507
  readonly OT_STYLE_RUN_FLAG: 2147483648;
7508
+ readonly OT_GROUP_SET_NAME_COUNT_MAX: 16;
7509
+ readonly OT_GROUP_SET_NAME_BYTE_COUNT_MAX: 64;
7510
+ readonly OT_EDIT_MARK_ADD: 0;
7511
+ readonly OT_EDIT_MARK_REMOVE: 1;
7512
+ readonly OT_EDIT_MARK_CLEAR: 2;
7513
+ readonly OT_EDIT_MARK_ATOMIC: 1;
7514
+ readonly OT_EDIT_MARK_STYLE_VALUE: 2;
7515
+ readonly OT_EDIT_MARK_ANY_KIND: 4294967295;
7516
+ readonly OT_MD_CONCEAL: 1;
7517
+ readonly OT_MD_HYPERLINKS: 2;
7518
+ readonly OT_MD_MATH: 4;
7519
+ readonly OT_MD_HOOK: 8;
7520
+ readonly OT_MD_HOOK_FILTER_BYTE_COUNT_MAX: 256;
7521
+ readonly OT_MD_PARAGRAPH: 0;
7522
+ readonly OT_MD_HEADING: 1;
7523
+ readonly OT_MD_CODE: 2;
7524
+ readonly OT_MD_HTML: 3;
7525
+ readonly OT_MD_RULE: 4;
7526
+ readonly OT_MD_TABLE: 5;
7527
+ readonly OT_MD_TABLE_ROW: 6;
7528
+ readonly OT_MD_TABLE_CELL: 7;
7529
+ readonly OT_MD_QUOTE: 8;
7530
+ readonly OT_MD_LIST: 9;
7531
+ readonly OT_MD_ITEM: 10;
7532
+ readonly OT_MD_BLOCK_CLOSED: 1;
7533
+ readonly OT_MD_BLOCK_SETEXT: 2;
7534
+ readonly OT_MD_BLOCK_ORDERED: 4;
7535
+ readonly OT_MD_BLOCK_TIGHT: 8;
7536
+ readonly OT_MD_BLOCK_TASK: 16;
7537
+ readonly OT_MD_BLOCK_CHECKED: 32;
7538
+ readonly OT_MD_BLOCK_BLANK_AFTER: 64;
7539
+ readonly OT_MD_BLOCK_FENCED: 128;
7540
+ readonly OT_MD_BLOCK_HOOKED: 256;
7541
+ readonly OT_MD_BLOCK_MATH: 512;
7542
+ readonly OT_MD_BLOCK_HEADER: 1024;
7543
+ readonly OT_MD_BLOCK_OPEN: 2048;
7544
+ readonly OT_MD_BLOCK_ALIGN_LEFT: 4096;
7545
+ readonly OT_MD_BLOCK_ALIGN_RIGHT: 8192;
7546
+ readonly OT_MD_SPAN_CODE: 1;
7547
+ readonly OT_MD_SPAN_MATH: 2;
6168
7548
  readonly OT_EDITOR_MOVE_UP: 0;
6169
7549
  readonly OT_EDITOR_MOVE_DOWN: 1;
6170
7550
  readonly OT_EDITOR_GOTO_LINE_END: 2;
@@ -6208,6 +7588,7 @@ export declare const nativeConstants: {
6208
7588
  readonly OT_IMAGE_PROTOCOL_BLOCKS: 3;
6209
7589
  readonly OT_IMAGE_DRAW_SOURCE_WIDTH: 1;
6210
7590
  readonly OT_IMAGE_DRAW_SOURCE_HEIGHT: 2;
7591
+ readonly OT_IMAGE_ENCODED_BYTES_MAX: 67108864;
6211
7592
  readonly OT_IMAGE_FORMAT_UNKNOWN: 0;
6212
7593
  readonly OT_IMAGE_FORMAT_PNG: 1;
6213
7594
  readonly OT_IMAGE_FORMAT_RGBA: 2;
@@ -6277,6 +7658,10 @@ export declare const nativeConstants: {
6277
7658
  readonly OT_BUFFER_STACK_CLEAR_OPACITY: 6;
6278
7659
  readonly OT_BUFFER_GRID_INNER: 1;
6279
7660
  readonly OT_BUFFER_GRID_OUTER: 2;
7661
+ readonly OT_CELL_CHAR_KIND_MASK: 3221225472;
7662
+ readonly OT_CELL_CHAR_IMAGE: 1073741824;
7663
+ readonly OT_CELL_CHAR_GRAPHEME: 2147483648;
7664
+ readonly OT_CELL_CHAR_CONTINUATION: 3221225472;
6280
7665
  readonly OT_SESSION_CONTROL_PACKET_BYTES: 4096;
6281
7666
  readonly OT_TERMINAL_ALTERNATE_SCREEN: 1;
6282
7667
  readonly OT_TERMINAL_MOUSE: 2;
@@ -6286,6 +7671,12 @@ export declare const nativeConstants: {
6286
7671
  readonly OT_TERMINAL_SYNC_ALWAYS: 32;
6287
7672
  readonly OT_TERMINAL_SYNC_NEVER: 64;
6288
7673
  readonly OT_TERMINAL_HOST_MULTIPLEXER: 128;
7674
+ readonly OT_KITTY_KEYBOARD_DISAMBIGUATE: 1;
7675
+ readonly OT_KITTY_KEYBOARD_EVENT_TYPES: 2;
7676
+ readonly OT_KITTY_KEYBOARD_ALTERNATE_KEYS: 4;
7677
+ readonly OT_KITTY_KEYBOARD_ALL_KEYS_AS_ESCAPES: 8;
7678
+ readonly OT_KITTY_KEYBOARD_REPORT_TEXT: 16;
7679
+ readonly OT_KITTY_KEYBOARD_ALL: 31;
6289
7680
  readonly OT_CONTROL_CAPABILITY_RESPONSE: 1;
6290
7681
  readonly OT_CONTROL_TITLE: 2;
6291
7682
  readonly OT_CONTROL_MOUSE: 3;
@@ -6297,6 +7688,7 @@ export declare const nativeConstants: {
6297
7688
  readonly OT_CONTROL_RESET_BACKGROUND: 9;
6298
7689
  readonly OT_CONTROL_PALETTE_QUERY: 10;
6299
7690
  readonly OT_CONTROL_PROGRAM_STATUS: 11;
7691
+ readonly OT_CONTROL_END_REPLY_SENTINEL: 12;
6300
7692
  readonly OT_CURSOR_POSITION: 1;
6301
7693
  readonly OT_CURSOR_STYLE: 2;
6302
7694
  readonly OT_CURSOR_BLINKING: 4;
@@ -6457,11 +7849,13 @@ export declare const nativeConstants: {
6457
7849
  readonly OT_INPUT_EXPECT_KITTY_KEYBOARD: 2;
6458
7850
  readonly OT_INPUT_EXPECT_CURSOR_POSITION: 4;
6459
7851
  readonly OT_INPUT_EXPECT_SENTINEL: 8;
7852
+ readonly OT_INPUT_EXPECT_ESCAPE_PREFIX: 16;
6460
7853
  readonly OT_INPUT_EVENTS_MIN: 4;
6461
7854
  readonly OT_INPUT_PAYLOAD_BYTES_MIN: 4384;
6462
7855
  readonly OT_INPUT_TIMEOUT_NS: 20000000;
6463
7856
  readonly OT_DIAGNOSTIC_MESSAGE_BYTES: 4096;
6464
7857
  readonly OT_DIAGNOSTIC_TRUNCATED: 1;
7858
+ readonly OT_DIAGNOSTIC_QUEUE_MAX: 64;
6465
7859
  readonly OT_SCENE_RECORD_BYTES_MAX: 67108864;
6466
7860
  readonly OT_SCENE_RECORD_PHASE_BEFORE: 0;
6467
7861
  readonly OT_SCENE_RECORD_PHASE_SELF: 1;
@@ -6479,6 +7873,7 @@ export declare const nativeConstants: {
6479
7873
  readonly OT_SCENE_RECORD_SCENE_BODY: 10;
6480
7874
  readonly OT_SCENE_RECORD_IMAGE: 11;
6481
7875
  readonly OT_SCENE_RECORD_UNICODE: 12;
7876
+ readonly OT_SCENE_RECORD_CELLS: 13;
6482
7877
  readonly OT_SCENE_RECORD_GRAYSCALE_FOREGROUND: 1;
6483
7878
  readonly OT_SCENE_RECORD_GRAYSCALE_BACKGROUND: 2;
6484
7879
  readonly OT_SCENE_RECORD_GRAYSCALE_SUPERSAMPLED: 4;