@reopt-ai/opt-devtool 1.0.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 (46) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/LICENSE +21 -0
  3. package/README.md +149 -0
  4. package/dist/brandapp/index.cjs +391 -0
  5. package/dist/brandapp/index.d.cts +95 -0
  6. package/dist/brandapp/index.d.ts +95 -0
  7. package/dist/brandapp/index.js +391 -0
  8. package/dist/chunk-4MJKIAXH.cjs +65 -0
  9. package/dist/chunk-5HRIQSVF.js +32 -0
  10. package/dist/chunk-6AGUYGVT.cjs +77 -0
  11. package/dist/chunk-EQPETYJJ.cjs +32 -0
  12. package/dist/chunk-H3F2WACS.cjs +568 -0
  13. package/dist/chunk-N7YO56TN.cjs +25 -0
  14. package/dist/chunk-SQ3E3QLA.cjs +253 -0
  15. package/dist/chunk-SW2FF6EV.js +568 -0
  16. package/dist/chunk-UJSIQF3A.js +25 -0
  17. package/dist/chunk-UQY5I3WS.js +253 -0
  18. package/dist/chunk-YCYIUFB4.js +65 -0
  19. package/dist/chunk-Z2KFRHSI.js +77 -0
  20. package/dist/datagrid/index.cjs +187 -0
  21. package/dist/datagrid/index.d.cts +14 -0
  22. package/dist/datagrid/index.d.ts +14 -0
  23. package/dist/datagrid/index.js +187 -0
  24. package/dist/editor/index.cjs +239 -0
  25. package/dist/editor/index.d.cts +14 -0
  26. package/dist/editor/index.d.ts +14 -0
  27. package/dist/editor/index.js +239 -0
  28. package/dist/harness/index.cjs +13 -0
  29. package/dist/harness/index.d.cts +30 -0
  30. package/dist/harness/index.d.ts +30 -0
  31. package/dist/harness/index.js +13 -0
  32. package/dist/index-Bakx4o8Z.d.cts +91 -0
  33. package/dist/index-Bakx4o8Z.d.ts +91 -0
  34. package/dist/index.cjs +3895 -0
  35. package/dist/index.d.cts +22 -0
  36. package/dist/index.d.ts +22 -0
  37. package/dist/index.js +3895 -0
  38. package/dist/theme/index.cjs +13 -0
  39. package/dist/theme/index.d.cts +33 -0
  40. package/dist/theme/index.d.ts +33 -0
  41. package/dist/theme/index.js +13 -0
  42. package/dist/ui/index.cjs +8 -0
  43. package/dist/ui/index.d.cts +2 -0
  44. package/dist/ui/index.d.ts +2 -0
  45. package/dist/ui/index.js +8 -0
  46. package/package.json +153 -0
@@ -0,0 +1,239 @@
1
+ "use client";
2
+ "use client";
3
+ import {
4
+ useOptDevtoolPlugin
5
+ } from "../chunk-Z2KFRHSI.js";
6
+ import "../chunk-UJSIQF3A.js";
7
+
8
+ // src/editor/index.tsx
9
+ import * as React from "react";
10
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
+ function StatusDot({
12
+ active,
13
+ label,
14
+ activeClassName = "bg-emerald-400"
15
+ }) {
16
+ return /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center gap-1", children: [
17
+ /* @__PURE__ */ jsx(
18
+ "span",
19
+ {
20
+ className: `inline-block h-1.5 w-1.5 rounded-full ${active ? activeClassName : "bg-white/20"}`
21
+ }
22
+ ),
23
+ label
24
+ ] });
25
+ }
26
+ function ModeBadge({ mode }) {
27
+ const classesByMode = {
28
+ edit: "bg-emerald-900/50 text-emerald-300",
29
+ stream: "bg-white/10 text-white/50",
30
+ diff: "bg-amber-900/50 text-amber-300"
31
+ };
32
+ return /* @__PURE__ */ jsx(
33
+ "span",
34
+ {
35
+ className: `inline-flex items-center rounded px-1.5 py-0.5 text-[9px] font-medium ${classesByMode[mode]}`,
36
+ children: mode
37
+ }
38
+ );
39
+ }
40
+ function StreamBadge({ status }) {
41
+ if (!status) {
42
+ return /* @__PURE__ */ jsx("span", { className: "inline-flex items-center rounded bg-white/10 px-1.5 py-0.5 text-[9px] text-white/40", children: "N/A" });
43
+ }
44
+ const styles = {
45
+ idle: "bg-white/10 text-white/50",
46
+ streaming: "animate-pulse bg-emerald-900/50 text-emerald-300",
47
+ done: "bg-emerald-900/50 text-emerald-300",
48
+ error: "bg-red-900/50 text-red-300"
49
+ };
50
+ return /* @__PURE__ */ jsx(
51
+ "span",
52
+ {
53
+ className: `inline-flex items-center rounded px-1.5 py-0.5 text-[9px] font-medium ${styles[status]}`,
54
+ children: status
55
+ }
56
+ );
57
+ }
58
+ function ChipList({
59
+ items,
60
+ emptyLabel
61
+ }) {
62
+ if (items.length === 0) {
63
+ return /* @__PURE__ */ jsx("span", { children: emptyLabel });
64
+ }
65
+ return /* @__PURE__ */ jsx(Fragment, { children: items.map((item) => /* @__PURE__ */ jsx(
66
+ "span",
67
+ {
68
+ className: "rounded border border-white/10 px-1.5 py-0.5",
69
+ children: item
70
+ },
71
+ item
72
+ )) });
73
+ }
74
+ function EditorDevtoolPanel({
75
+ snapshot,
76
+ streamStatus
77
+ }) {
78
+ var _a, _b, _c, _d, _e, _f;
79
+ if (!snapshot) {
80
+ return /* @__PURE__ */ jsx("div", { className: "text-[11px] text-white/55", children: "Waiting for Editor snapshot." });
81
+ }
82
+ const selectedBlockIds = (_a = snapshot.selectedBlockIds) != null ? _a : [];
83
+ const selectedBlockTypes = (_b = snapshot.selectedBlockTypes) != null ? _b : [];
84
+ const selectedBlockCount = (_c = snapshot.selectedBlockCount) != null ? _c : snapshot.selectedBlockId ? 1 : selectedBlockIds.length;
85
+ const features = snapshot.features;
86
+ return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3 text-[11px]", children: [
87
+ /* @__PURE__ */ jsxs("section", { children: [
88
+ /* @__PURE__ */ jsx("p", { className: "mb-1 text-[10px] font-semibold text-emerald-400", children: "Runtime" }),
89
+ /* @__PURE__ */ jsxs("div", { className: "grid gap-1.5 text-white/70 md:grid-cols-2", children: [
90
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
91
+ "Mode: ",
92
+ /* @__PURE__ */ jsx(ModeBadge, { mode: snapshot.mode })
93
+ ] }),
94
+ /* @__PURE__ */ jsxs("div", { children: [
95
+ "Spec version: v",
96
+ (_d = snapshot.specVersion) != null ? _d : "?"
97
+ ] }),
98
+ /* @__PURE__ */ jsxs("div", { children: [
99
+ "Selected block: ",
100
+ (_e = snapshot.selectedBlockId) != null ? _e : "None"
101
+ ] }),
102
+ /* @__PURE__ */ jsxs("div", { children: [
103
+ "Roots: ",
104
+ snapshot.rootCount
105
+ ] }),
106
+ /* @__PURE__ */ jsxs("div", { children: [
107
+ "Elements: ",
108
+ snapshot.elementCount
109
+ ] }),
110
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
111
+ /* @__PURE__ */ jsx(StatusDot, { active: snapshot.canUndo, label: "Undo" }),
112
+ /* @__PURE__ */ jsx(StatusDot, { active: snapshot.canRedo, label: "Redo" })
113
+ ] }),
114
+ /* @__PURE__ */ jsxs("div", { children: [
115
+ "Focus target:",
116
+ " ",
117
+ snapshot.focusTarget ? `${snapshot.focusTarget.blockId}${snapshot.focusTarget.offset !== void 0 ? ` @${snapshot.focusTarget.offset}` : ""}` : "None"
118
+ ] }),
119
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
120
+ "Stream: ",
121
+ /* @__PURE__ */ jsx(StreamBadge, { status: streamStatus })
122
+ ] }),
123
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsx(
124
+ StatusDot,
125
+ {
126
+ active: !!snapshot.externalStreaming,
127
+ activeClassName: "animate-pulse bg-emerald-400",
128
+ label: snapshot.externalStreaming ? "External stream" : "Local updates"
129
+ }
130
+ ) })
131
+ ] })
132
+ ] }),
133
+ /* @__PURE__ */ jsxs("section", { children: [
134
+ /* @__PURE__ */ jsx("p", { className: "mb-1 text-[10px] font-semibold text-emerald-400", children: "Selection" }),
135
+ /* @__PURE__ */ jsxs("div", { className: "grid gap-1.5 text-white/70 md:grid-cols-2", children: [
136
+ /* @__PURE__ */ jsxs("div", { children: [
137
+ "Selected blocks: ",
138
+ selectedBlockCount
139
+ ] }),
140
+ /* @__PURE__ */ jsxs("div", { children: [
141
+ "State keys: ",
142
+ (_f = snapshot.stateKeyCount) != null ? _f : 0
143
+ ] }),
144
+ /* @__PURE__ */ jsxs("div", { className: "md:col-span-2", children: [
145
+ /* @__PURE__ */ jsx("p", { className: "mb-1 text-[10px] text-white/45", children: "IDs" }),
146
+ /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-1.5 text-white/75", children: /* @__PURE__ */ jsx(
147
+ ChipList,
148
+ {
149
+ items: selectedBlockIds,
150
+ emptyLabel: "No block selection."
151
+ }
152
+ ) })
153
+ ] }),
154
+ /* @__PURE__ */ jsxs("div", { className: "md:col-span-2", children: [
155
+ /* @__PURE__ */ jsx("p", { className: "mb-1 text-[10px] text-white/45", children: "Types" }),
156
+ /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-1.5 text-white/75", children: /* @__PURE__ */ jsx(
157
+ ChipList,
158
+ {
159
+ items: selectedBlockTypes,
160
+ emptyLabel: "No block types."
161
+ }
162
+ ) })
163
+ ] })
164
+ ] })
165
+ ] }),
166
+ /* @__PURE__ */ jsxs("section", { children: [
167
+ /* @__PURE__ */ jsx("p", { className: "mb-1 text-[10px] font-semibold text-emerald-400", children: "Integrations" }),
168
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-x-3 gap-y-1.5 text-white/70", children: [
169
+ /* @__PURE__ */ jsx(StatusDot, { active: !!(features == null ? void 0 : features.stateStore), label: "State store" }),
170
+ /* @__PURE__ */ jsx(
171
+ StatusDot,
172
+ {
173
+ active: !!(features == null ? void 0 : features.actionRegistry),
174
+ label: "Action registry"
175
+ }
176
+ ),
177
+ /* @__PURE__ */ jsx(StatusDot, { active: !!(features == null ? void 0 : features.aiRequest), label: "AI request" }),
178
+ /* @__PURE__ */ jsx(StatusDot, { active: !!(features == null ? void 0 : features.ghostText), label: "Ghost text" }),
179
+ /* @__PURE__ */ jsx(
180
+ StatusDot,
181
+ {
182
+ active: !!(features == null ? void 0 : features.highlightCode),
183
+ label: "Code highlight"
184
+ }
185
+ ),
186
+ /* @__PURE__ */ jsx(StatusDot, { active: !!(features == null ? void 0 : features.fileUpload), label: "File upload" }),
187
+ /* @__PURE__ */ jsx(StatusDot, { active: !!(features == null ? void 0 : features.imageBrowse), label: "Image browse" }),
188
+ /* @__PURE__ */ jsx(
189
+ StatusDot,
190
+ {
191
+ active: !!(features == null ? void 0 : features.imageGenerate),
192
+ label: "Image generate"
193
+ }
194
+ ),
195
+ /* @__PURE__ */ jsx(StatusDot, { active: !!(features == null ? void 0 : features.imageEdit), label: "Image edit" })
196
+ ] })
197
+ ] }),
198
+ /* @__PURE__ */ jsxs("section", { children: [
199
+ /* @__PURE__ */ jsx("p", { className: "mb-1 text-[10px] font-semibold text-emerald-400", children: "Last changed IDs" }),
200
+ /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-1.5 text-white/75", children: /* @__PURE__ */ jsx(
201
+ ChipList,
202
+ {
203
+ items: snapshot.lastChangedIds,
204
+ emptyLabel: "No pending changes."
205
+ }
206
+ ) })
207
+ ] })
208
+ ] });
209
+ }
210
+ function useEditorDevtoolBridge({
211
+ id,
212
+ label,
213
+ order = 30,
214
+ streamStatus
215
+ }) {
216
+ const [snapshot, setSnapshot] = React.useState(
217
+ null
218
+ );
219
+ const inspect = React.useCallback((nextSnapshot) => {
220
+ setSnapshot(nextSnapshot);
221
+ }, []);
222
+ const plugin = React.useMemo(
223
+ () => ({
224
+ id,
225
+ label,
226
+ order,
227
+ tab: "editor",
228
+ renderPanel: () => /* @__PURE__ */ jsx(EditorDevtoolPanel, { snapshot, streamStatus })
229
+ }),
230
+ [id, label, order, snapshot, streamStatus]
231
+ );
232
+ useOptDevtoolPlugin(plugin);
233
+ return {
234
+ inspect
235
+ };
236
+ }
237
+ export {
238
+ useEditorDevtoolBridge
239
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
+ "use client";
3
+
4
+
5
+
6
+ var _chunkH3F2WACScjs = require('../chunk-H3F2WACS.cjs');
7
+ require('../chunk-EQPETYJJ.cjs');
8
+ require('../chunk-6AGUYGVT.cjs');
9
+ require('../chunk-N7YO56TN.cjs');
10
+
11
+
12
+
13
+ exports.ShellOverlay = _chunkH3F2WACScjs.ShellOverlay; exports.useShellDevtoolBridge = _chunkH3F2WACScjs.useShellDevtoolBridge;
@@ -0,0 +1,30 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ShellDevtoolSnapshot } from '@reopt-ai/opt-shell';
3
+
4
+ interface UseShellDevtoolBridgeOptions {
5
+ id: string;
6
+ label: string;
7
+ order?: number;
8
+ /** URL to the harness manager UI (e.g. "/builder/shells"). Shown as a link in the panel. */
9
+ managerHref?: string;
10
+ }
11
+ interface RegisteredShellDevtoolBridge {
12
+ inspect: (snapshot: ShellDevtoolSnapshot) => void;
13
+ }
14
+ declare function ShellOverlay({ snapshot, }: {
15
+ snapshot: ShellDevtoolSnapshot | null;
16
+ }): react_jsx_runtime.JSX.Element | null;
17
+ /**
18
+ * Register the harness devtool bridge.
19
+ *
20
+ * Note on the snapshot wiring (intentional asymmetry vs the editor /
21
+ * datagrid / theme bridges): harness state is mirrored into the shared
22
+ * `harness-store` module singleton in addition to local hook state.
23
+ * `<OptDevtool>` itself reads the store directly so it can render the
24
+ * harness *overlay* outside the panel chrome, even when the panel is on a
25
+ * different tab. The other bridges only render inside their tab and so can
26
+ * keep their snapshot fully local.
27
+ */
28
+ declare function useShellDevtoolBridge({ id, label, order, managerHref, }: UseShellDevtoolBridgeOptions): RegisteredShellDevtoolBridge;
29
+
30
+ export { type RegisteredShellDevtoolBridge, ShellOverlay, type UseShellDevtoolBridgeOptions, useShellDevtoolBridge };
@@ -0,0 +1,30 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ShellDevtoolSnapshot } from '@reopt-ai/opt-shell';
3
+
4
+ interface UseShellDevtoolBridgeOptions {
5
+ id: string;
6
+ label: string;
7
+ order?: number;
8
+ /** URL to the harness manager UI (e.g. "/builder/shells"). Shown as a link in the panel. */
9
+ managerHref?: string;
10
+ }
11
+ interface RegisteredShellDevtoolBridge {
12
+ inspect: (snapshot: ShellDevtoolSnapshot) => void;
13
+ }
14
+ declare function ShellOverlay({ snapshot, }: {
15
+ snapshot: ShellDevtoolSnapshot | null;
16
+ }): react_jsx_runtime.JSX.Element | null;
17
+ /**
18
+ * Register the harness devtool bridge.
19
+ *
20
+ * Note on the snapshot wiring (intentional asymmetry vs the editor /
21
+ * datagrid / theme bridges): harness state is mirrored into the shared
22
+ * `harness-store` module singleton in addition to local hook state.
23
+ * `<OptDevtool>` itself reads the store directly so it can render the
24
+ * harness *overlay* outside the panel chrome, even when the panel is on a
25
+ * different tab. The other bridges only render inside their tab and so can
26
+ * keep their snapshot fully local.
27
+ */
28
+ declare function useShellDevtoolBridge({ id, label, order, managerHref, }: UseShellDevtoolBridgeOptions): RegisteredShellDevtoolBridge;
29
+
30
+ export { type RegisteredShellDevtoolBridge, ShellOverlay, type UseShellDevtoolBridgeOptions, useShellDevtoolBridge };
@@ -0,0 +1,13 @@
1
+ "use client";
2
+ "use client";
3
+ import {
4
+ ShellOverlay,
5
+ useShellDevtoolBridge
6
+ } from "../chunk-SW2FF6EV.js";
7
+ import "../chunk-5HRIQSVF.js";
8
+ import "../chunk-Z2KFRHSI.js";
9
+ import "../chunk-UJSIQF3A.js";
10
+ export {
11
+ ShellOverlay,
12
+ useShellDevtoolBridge
13
+ };
@@ -0,0 +1,91 @@
1
+ import * as React from 'react';
2
+
3
+ declare const OPT_DEVTOOL_CONFIGURE_EVENT = "opt-devtool-configure";
4
+ /** Built-in overlay tab slots that inspect plugins can target. */
5
+ type OptDevtoolPluginTab = "component" | "editor" | "brandapp";
6
+ /** Runtime configuration payload for toggling opt-devtool state. */
7
+ interface OptDevtoolConfig {
8
+ visible?: boolean;
9
+ showGuide?: boolean;
10
+ showTabOrder?: boolean;
11
+ showSpatialNav?: boolean;
12
+ showEventLog?: boolean;
13
+ showComponentTrace?: boolean;
14
+ showComponentTree?: boolean;
15
+ showInspect?: boolean;
16
+ showComponentLabels?: boolean;
17
+ showCompositeBounds?: boolean;
18
+ }
19
+ /** Page-local module plugin registered into the opt-devtool overlay. */
20
+ interface OptDevtoolPlugin {
21
+ id: string;
22
+ label: string;
23
+ order?: number;
24
+ tab?: OptDevtoolPluginTab;
25
+ renderPanel: () => React.ReactNode;
26
+ renderOverlay?: () => React.ReactNode;
27
+ }
28
+ /** Localised strings rendered inside the devtool overlay. */
29
+ interface OptDevtoolLabels {
30
+ panelTitle: string;
31
+ toggleHint: string;
32
+ copyButtonTooltip: string;
33
+ closeButton: string;
34
+ tabComponent: string;
35
+ tabEditor: string;
36
+ tabBrandapp: string;
37
+ tabTheme: string;
38
+ tabHarness: string;
39
+ emptyComponent: string;
40
+ emptyEditor: string;
41
+ emptyBrandapp: string;
42
+ emptyEnginePanel: string;
43
+ inspectingPinned: string;
44
+ inspecting: string;
45
+ currentFocus: string;
46
+ componentTrace: string;
47
+ componentTree: string;
48
+ noReactComponent: string;
49
+ tabOrderInline: string;
50
+ tabOrderOut: string;
51
+ tabOrderHint: string;
52
+ shiftTabPrev: string;
53
+ tabNext: string;
54
+ arrowKeysTitle: (type: string, index: number, total: number) => string;
55
+ loopBadge: string;
56
+ wrapBadge: string;
57
+ noArrowTarget: string;
58
+ spatialNav: string;
59
+ spatialProtected: string;
60
+ spatialNoCandidate: string;
61
+ spatialTrappedContext: (context: string) => string;
62
+ history: string;
63
+ eventLogTitle: string;
64
+ eventLogClear: string;
65
+ eventLogWaiting: string;
66
+ overlaysSection: string;
67
+ panelsSection: string;
68
+ toggleGuide: string;
69
+ toggleTabOrder: string;
70
+ toggleSpatialNav: string;
71
+ toggleComponentLabels: string;
72
+ toggleCompositeBounds: string;
73
+ toggleComponentTrace: string;
74
+ toggleComponentTree: string;
75
+ toggleEventLog: string;
76
+ toggleInspect: string;
77
+ trapped: string;
78
+ protected: string;
79
+ filterUser: string;
80
+ filterPrimitives: string;
81
+ filterAll: string;
82
+ }
83
+
84
+ /** Root overlay props. */
85
+ interface OptDevtoolProps {
86
+ defaultOpen?: boolean;
87
+ /** Override individual labels. Falls back to {@link defaultLabels} (Korean). */
88
+ labels?: Partial<OptDevtoolLabels>;
89
+ }
90
+
91
+ export { type OptDevtoolLabels as O, type OptDevtoolPlugin as a, type OptDevtoolProps as b, OPT_DEVTOOL_CONFIGURE_EVENT as c, type OptDevtoolConfig as d, type OptDevtoolPluginTab as e };
@@ -0,0 +1,91 @@
1
+ import * as React from 'react';
2
+
3
+ declare const OPT_DEVTOOL_CONFIGURE_EVENT = "opt-devtool-configure";
4
+ /** Built-in overlay tab slots that inspect plugins can target. */
5
+ type OptDevtoolPluginTab = "component" | "editor" | "brandapp";
6
+ /** Runtime configuration payload for toggling opt-devtool state. */
7
+ interface OptDevtoolConfig {
8
+ visible?: boolean;
9
+ showGuide?: boolean;
10
+ showTabOrder?: boolean;
11
+ showSpatialNav?: boolean;
12
+ showEventLog?: boolean;
13
+ showComponentTrace?: boolean;
14
+ showComponentTree?: boolean;
15
+ showInspect?: boolean;
16
+ showComponentLabels?: boolean;
17
+ showCompositeBounds?: boolean;
18
+ }
19
+ /** Page-local module plugin registered into the opt-devtool overlay. */
20
+ interface OptDevtoolPlugin {
21
+ id: string;
22
+ label: string;
23
+ order?: number;
24
+ tab?: OptDevtoolPluginTab;
25
+ renderPanel: () => React.ReactNode;
26
+ renderOverlay?: () => React.ReactNode;
27
+ }
28
+ /** Localised strings rendered inside the devtool overlay. */
29
+ interface OptDevtoolLabels {
30
+ panelTitle: string;
31
+ toggleHint: string;
32
+ copyButtonTooltip: string;
33
+ closeButton: string;
34
+ tabComponent: string;
35
+ tabEditor: string;
36
+ tabBrandapp: string;
37
+ tabTheme: string;
38
+ tabHarness: string;
39
+ emptyComponent: string;
40
+ emptyEditor: string;
41
+ emptyBrandapp: string;
42
+ emptyEnginePanel: string;
43
+ inspectingPinned: string;
44
+ inspecting: string;
45
+ currentFocus: string;
46
+ componentTrace: string;
47
+ componentTree: string;
48
+ noReactComponent: string;
49
+ tabOrderInline: string;
50
+ tabOrderOut: string;
51
+ tabOrderHint: string;
52
+ shiftTabPrev: string;
53
+ tabNext: string;
54
+ arrowKeysTitle: (type: string, index: number, total: number) => string;
55
+ loopBadge: string;
56
+ wrapBadge: string;
57
+ noArrowTarget: string;
58
+ spatialNav: string;
59
+ spatialProtected: string;
60
+ spatialNoCandidate: string;
61
+ spatialTrappedContext: (context: string) => string;
62
+ history: string;
63
+ eventLogTitle: string;
64
+ eventLogClear: string;
65
+ eventLogWaiting: string;
66
+ overlaysSection: string;
67
+ panelsSection: string;
68
+ toggleGuide: string;
69
+ toggleTabOrder: string;
70
+ toggleSpatialNav: string;
71
+ toggleComponentLabels: string;
72
+ toggleCompositeBounds: string;
73
+ toggleComponentTrace: string;
74
+ toggleComponentTree: string;
75
+ toggleEventLog: string;
76
+ toggleInspect: string;
77
+ trapped: string;
78
+ protected: string;
79
+ filterUser: string;
80
+ filterPrimitives: string;
81
+ filterAll: string;
82
+ }
83
+
84
+ /** Root overlay props. */
85
+ interface OptDevtoolProps {
86
+ defaultOpen?: boolean;
87
+ /** Override individual labels. Falls back to {@link defaultLabels} (Korean). */
88
+ labels?: Partial<OptDevtoolLabels>;
89
+ }
90
+
91
+ export { type OptDevtoolLabels as O, type OptDevtoolPlugin as a, type OptDevtoolProps as b, OPT_DEVTOOL_CONFIGURE_EVENT as c, type OptDevtoolConfig as d, type OptDevtoolPluginTab as e };