@arbidocs/blocks 0.4.122 → 0.4.123

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 (113) hide show
  1. package/dist/{StreamedArtifactEditor-IZWYNFMM.cjs → StreamedArtifactEditor-DNBDUNP2.cjs} +5 -5
  2. package/dist/{StreamedArtifactEditor-IZWYNFMM.cjs.map → StreamedArtifactEditor-DNBDUNP2.cjs.map} +1 -1
  3. package/dist/{StreamedArtifactEditor-HTNPG4NB.js → StreamedArtifactEditor-WDHPTWX7.js} +3 -3
  4. package/dist/{StreamedArtifactEditor-HTNPG4NB.js.map → StreamedArtifactEditor-WDHPTWX7.js.map} +1 -1
  5. package/dist/agents/index.cjs +388 -324
  6. package/dist/agents/index.js +7 -7
  7. package/dist/agents/tasks/ConversationListView.d.ts +2 -1
  8. package/dist/agents/tasks/ConversationTurnSpeaker.d.ts +3 -1
  9. package/dist/agents/tasks/TaskFlow.d.ts +17 -0
  10. package/dist/agents/tasks/ThreadLauncher.d.ts +51 -0
  11. package/dist/agents/tasks/ThreadStatusLine.d.ts +33 -0
  12. package/dist/agents/tasks/WorkflowRunStatus.d.ts +32 -0
  13. package/dist/agents/tasks/WorkflowThreadStrip.d.ts +29 -3
  14. package/dist/agents/tasks/compact-thread-activity.d.ts +5 -2
  15. package/dist/agents/tasks/index.d.ts +3 -0
  16. package/dist/agents/workflows/StepBarFrame.d.ts +18 -17
  17. package/dist/agents/workflows/StepChip.d.ts +37 -0
  18. package/dist/agents/workflows/StepDocuments.d.ts +64 -0
  19. package/dist/agents/workflows/WorkflowStepBar.d.ts +1 -2
  20. package/dist/agents/workflows/index.d.ts +2 -0
  21. package/dist/agents/workflows/stepKinds.d.ts +24 -0
  22. package/dist/artifacts/VersionTimeline.d.ts +7 -0
  23. package/dist/artifacts/index.cjs +21 -21
  24. package/dist/artifacts/index.js +1 -1
  25. package/dist/chat/ChatPage.d.ts +1 -1
  26. package/dist/chat/DraftingDocChip.d.ts +22 -0
  27. package/dist/chat/WorkflowStepChip.d.ts +23 -5
  28. package/dist/chat/chat-page-types.d.ts +18 -2
  29. package/dist/chat/flashMessage.d.ts +6 -0
  30. package/dist/chat/index.cjs +144 -131
  31. package/dist/chat/index.d.ts +2 -0
  32. package/dist/chat/index.js +4 -3
  33. package/dist/{chunk-UDK553WP.cjs → chunk-4VCKYR4D.cjs} +4 -4
  34. package/dist/{chunk-UDK553WP.cjs.map → chunk-4VCKYR4D.cjs.map} +1 -1
  35. package/dist/{chunk-XSUOEJB3.cjs → chunk-7FZWNDPU.cjs} +162 -836
  36. package/dist/chunk-7FZWNDPU.cjs.map +1 -0
  37. package/dist/chunk-7HAM7Y5U.js +907 -0
  38. package/dist/chunk-7HAM7Y5U.js.map +1 -0
  39. package/dist/{chunk-TCNYKDYE.js → chunk-CXLVI3SB.js} +73 -40
  40. package/dist/chunk-CXLVI3SB.js.map +1 -0
  41. package/dist/chunk-HM23LXUP.cjs +976 -0
  42. package/dist/chunk-HM23LXUP.cjs.map +1 -0
  43. package/dist/{chunk-WN64RF46.js → chunk-HQH35JWC.js} +3 -3
  44. package/dist/{chunk-WN64RF46.js.map → chunk-HQH35JWC.js.map} +1 -1
  45. package/dist/{chunk-AY32GGKU.js → chunk-MD7RVFKA.js} +131 -751
  46. package/dist/chunk-MD7RVFKA.js.map +1 -0
  47. package/dist/{chunk-65HZ36MY.js → chunk-OTDGTBAS.js} +20 -3
  48. package/dist/chunk-OTDGTBAS.js.map +1 -0
  49. package/dist/{chunk-ZP4IFW2E.js → chunk-RARHNGKM.js} +731 -183
  50. package/dist/chunk-RARHNGKM.js.map +1 -0
  51. package/dist/{chunk-XFZ7HNPG.js → chunk-SOZNA52K.js} +3 -3
  52. package/dist/{chunk-XFZ7HNPG.js.map → chunk-SOZNA52K.js.map} +1 -1
  53. package/dist/{chunk-US5ASM4G.cjs → chunk-U2F4SSJR.cjs} +5 -5
  54. package/dist/{chunk-US5ASM4G.cjs.map → chunk-U2F4SSJR.cjs.map} +1 -1
  55. package/dist/{chunk-Z2NSU7D5.cjs → chunk-V4V2CVNE.cjs} +768 -214
  56. package/dist/chunk-V4V2CVNE.cjs.map +1 -0
  57. package/dist/{chunk-CK4C3IQR.cjs → chunk-VMZXFYHK.cjs} +47 -6
  58. package/dist/chunk-VMZXFYHK.cjs.map +1 -0
  59. package/dist/{chunk-SVJQWLOF.cjs → chunk-W4GXDARU.cjs} +20 -3
  60. package/dist/chunk-W4GXDARU.cjs.map +1 -0
  61. package/dist/{chunk-S2KVJYBD.cjs → chunk-WV4IDVDQ.cjs} +76 -43
  62. package/dist/chunk-WV4IDVDQ.cjs.map +1 -0
  63. package/dist/{chunk-2FUJXMGO.js → chunk-Y4X3RBFI.js} +44 -6
  64. package/dist/{chunk-CK4C3IQR.cjs.map → chunk-Y4X3RBFI.js.map} +1 -1
  65. package/dist/collaboration/index.cjs +1 -1
  66. package/dist/collaboration/index.js +1 -1
  67. package/dist/connect/index.cjs +63 -46
  68. package/dist/connect/index.cjs.map +1 -1
  69. package/dist/connect/index.js +33 -16
  70. package/dist/connect/index.js.map +1 -1
  71. package/dist/connection/WorkflowRunThread.d.ts +4 -4
  72. package/dist/connection/ai.d.ts +2 -0
  73. package/dist/facts/index.cjs +2 -2
  74. package/dist/facts/index.js +2 -2
  75. package/dist/files/index.cjs +3 -3
  76. package/dist/files/index.js +3 -3
  77. package/dist/home/index.cjs +1 -1
  78. package/dist/home/index.js +1 -1
  79. package/dist/index.cjs +840 -764
  80. package/dist/index.js +14 -14
  81. package/dist/retrieval/index.cjs +1 -1
  82. package/dist/retrieval/index.js +1 -1
  83. package/dist/settings/index.cjs +1 -1
  84. package/dist/settings/index.js +1 -1
  85. package/dist/shell/index.cjs +10 -10
  86. package/dist/shell/index.js +2 -2
  87. package/dist/studio/index.cjs +6 -5
  88. package/dist/studio/index.cjs.map +1 -1
  89. package/dist/studio/index.js +5 -4
  90. package/dist/studio/index.js.map +1 -1
  91. package/dist/workflow-canvas/WorkflowCanvas.d.ts +0 -9
  92. package/dist/workflow-canvas/edit.d.ts +2 -11
  93. package/dist/workflow-canvas/index.cjs +61 -85
  94. package/dist/workflow-canvas/index.cjs.map +1 -1
  95. package/dist/workflow-canvas/index.js +12 -36
  96. package/dist/workflow-canvas/index.js.map +1 -1
  97. package/node_modules/@arbidocs/coedit/package.json +1 -1
  98. package/package.json +4 -4
  99. package/src/blocks.css +168 -0
  100. package/src/workflow-canvas/canvas.css +2 -40
  101. package/dist/chunk-2FUJXMGO.js.map +0 -1
  102. package/dist/chunk-65HZ36MY.js.map +0 -1
  103. package/dist/chunk-AY32GGKU.js.map +0 -1
  104. package/dist/chunk-B4SRYJLM.cjs +0 -107
  105. package/dist/chunk-B4SRYJLM.cjs.map +0 -1
  106. package/dist/chunk-HOXKR26S.js +0 -103
  107. package/dist/chunk-HOXKR26S.js.map +0 -1
  108. package/dist/chunk-S2KVJYBD.cjs.map +0 -1
  109. package/dist/chunk-SVJQWLOF.cjs.map +0 -1
  110. package/dist/chunk-TCNYKDYE.js.map +0 -1
  111. package/dist/chunk-XSUOEJB3.cjs.map +0 -1
  112. package/dist/chunk-Z2NSU7D5.cjs.map +0 -1
  113. package/dist/chunk-ZP4IFW2E.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkSVJQWLOF_cjs = require('../chunk-SVJQWLOF.cjs');
4
+ var chunkW4GXDARU_cjs = require('../chunk-W4GXDARU.cjs');
5
5
  var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
6
6
  require('../chunk-MHVNT4J3.cjs');
7
7
  require('../chunk-DES3K4SD.cjs');
@@ -10,83 +10,83 @@ require('../chunk-DES3K4SD.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "ArtifactCompareBar", {
12
12
  enumerable: true,
13
- get: function () { return chunkSVJQWLOF_cjs.ArtifactCompareBar; }
13
+ get: function () { return chunkW4GXDARU_cjs.ArtifactCompareBar; }
14
14
  });
15
15
  Object.defineProperty(exports, "ArtifactEditor", {
16
16
  enumerable: true,
17
- get: function () { return chunkSVJQWLOF_cjs.ArtifactEditor; }
17
+ get: function () { return chunkW4GXDARU_cjs.ArtifactEditor; }
18
18
  });
19
19
  Object.defineProperty(exports, "ArtifactEditorBody", {
20
20
  enumerable: true,
21
- get: function () { return chunkSVJQWLOF_cjs.ArtifactEditorBody; }
21
+ get: function () { return chunkW4GXDARU_cjs.ArtifactEditorBody; }
22
22
  });
23
23
  Object.defineProperty(exports, "ArtifactRedlineView", {
24
24
  enumerable: true,
25
- get: function () { return chunkSVJQWLOF_cjs.ArtifactRedlineView; }
25
+ get: function () { return chunkW4GXDARU_cjs.ArtifactRedlineView; }
26
26
  });
27
27
  Object.defineProperty(exports, "ArtifactToolbar", {
28
28
  enumerable: true,
29
- get: function () { return chunkSVJQWLOF_cjs.ArtifactToolbar; }
29
+ get: function () { return chunkW4GXDARU_cjs.ArtifactToolbar; }
30
30
  });
31
31
  Object.defineProperty(exports, "ArtifactVersionBar", {
32
32
  enumerable: true,
33
- get: function () { return chunkSVJQWLOF_cjs.ArtifactVersionBar; }
33
+ get: function () { return chunkW4GXDARU_cjs.ArtifactVersionBar; }
34
34
  });
35
35
  Object.defineProperty(exports, "DEFAULT_ARTIFACT_COMPARE_BAR_LABELS", {
36
36
  enumerable: true,
37
- get: function () { return chunkSVJQWLOF_cjs.DEFAULT_ARTIFACT_COMPARE_BAR_LABELS; }
37
+ get: function () { return chunkW4GXDARU_cjs.DEFAULT_ARTIFACT_COMPARE_BAR_LABELS; }
38
38
  });
39
39
  Object.defineProperty(exports, "DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS", {
40
40
  enumerable: true,
41
- get: function () { return chunkSVJQWLOF_cjs.DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS; }
41
+ get: function () { return chunkW4GXDARU_cjs.DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS; }
42
42
  });
43
43
  Object.defineProperty(exports, "DEFAULT_ARTIFACT_TOOLBAR_LABELS", {
44
44
  enumerable: true,
45
- get: function () { return chunkSVJQWLOF_cjs.DEFAULT_ARTIFACT_TOOLBAR_LABELS; }
45
+ get: function () { return chunkW4GXDARU_cjs.DEFAULT_ARTIFACT_TOOLBAR_LABELS; }
46
46
  });
47
47
  Object.defineProperty(exports, "DEFAULT_ARTIFACT_VERSION_BAR_LABELS", {
48
48
  enumerable: true,
49
- get: function () { return chunkSVJQWLOF_cjs.DEFAULT_ARTIFACT_VERSION_BAR_LABELS; }
49
+ get: function () { return chunkW4GXDARU_cjs.DEFAULT_ARTIFACT_VERSION_BAR_LABELS; }
50
50
  });
51
51
  Object.defineProperty(exports, "DEFAULT_REDLINE_LABELS", {
52
52
  enumerable: true,
53
- get: function () { return chunkSVJQWLOF_cjs.DEFAULT_REDLINE_LABELS; }
53
+ get: function () { return chunkW4GXDARU_cjs.DEFAULT_REDLINE_LABELS; }
54
54
  });
55
55
  Object.defineProperty(exports, "DEFAULT_VERSION_TIMELINE_LABELS", {
56
56
  enumerable: true,
57
- get: function () { return chunkSVJQWLOF_cjs.DEFAULT_VERSION_TIMELINE_LABELS; }
57
+ get: function () { return chunkW4GXDARU_cjs.DEFAULT_VERSION_TIMELINE_LABELS; }
58
58
  });
59
59
  Object.defineProperty(exports, "RedlineComputing", {
60
60
  enumerable: true,
61
- get: function () { return chunkSVJQWLOF_cjs.RedlineComputing; }
61
+ get: function () { return chunkW4GXDARU_cjs.RedlineComputing; }
62
62
  });
63
63
  Object.defineProperty(exports, "RedlineDocument", {
64
64
  enumerable: true,
65
- get: function () { return chunkSVJQWLOF_cjs.RedlineDocument; }
65
+ get: function () { return chunkW4GXDARU_cjs.RedlineDocument; }
66
66
  });
67
67
  Object.defineProperty(exports, "RedlineFrame", {
68
68
  enumerable: true,
69
- get: function () { return chunkSVJQWLOF_cjs.RedlineFrame; }
69
+ get: function () { return chunkW4GXDARU_cjs.RedlineFrame; }
70
70
  });
71
71
  Object.defineProperty(exports, "RedlineHeader", {
72
72
  enumerable: true,
73
- get: function () { return chunkSVJQWLOF_cjs.RedlineHeader; }
73
+ get: function () { return chunkW4GXDARU_cjs.RedlineHeader; }
74
74
  });
75
75
  Object.defineProperty(exports, "RedlineMark", {
76
76
  enumerable: true,
77
- get: function () { return chunkSVJQWLOF_cjs.RedlineMark; }
77
+ get: function () { return chunkW4GXDARU_cjs.RedlineMark; }
78
78
  });
79
79
  Object.defineProperty(exports, "RedlineRevertGutter", {
80
80
  enumerable: true,
81
- get: function () { return chunkSVJQWLOF_cjs.RedlineRevertGutter; }
81
+ get: function () { return chunkW4GXDARU_cjs.RedlineRevertGutter; }
82
82
  });
83
83
  Object.defineProperty(exports, "RedlineStatus", {
84
84
  enumerable: true,
85
- get: function () { return chunkSVJQWLOF_cjs.RedlineStatus; }
85
+ get: function () { return chunkW4GXDARU_cjs.RedlineStatus; }
86
86
  });
87
87
  Object.defineProperty(exports, "VersionTimeline", {
88
88
  enumerable: true,
89
- get: function () { return chunkSVJQWLOF_cjs.VersionTimeline; }
89
+ get: function () { return chunkW4GXDARU_cjs.VersionTimeline; }
90
90
  });
91
91
  Object.defineProperty(exports, "DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS", {
92
92
  enumerable: true,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { ArtifactCompareBar, ArtifactEditor, ArtifactEditorBody, ArtifactRedlineView, ArtifactToolbar, ArtifactVersionBar, DEFAULT_ARTIFACT_COMPARE_BAR_LABELS, DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS, DEFAULT_ARTIFACT_TOOLBAR_LABELS, DEFAULT_ARTIFACT_VERSION_BAR_LABELS, DEFAULT_REDLINE_LABELS, DEFAULT_VERSION_TIMELINE_LABELS, RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, VersionTimeline } from '../chunk-65HZ36MY.js';
2
+ export { ArtifactCompareBar, ArtifactEditor, ArtifactEditorBody, ArtifactRedlineView, ArtifactToolbar, ArtifactVersionBar, DEFAULT_ARTIFACT_COMPARE_BAR_LABELS, DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS, DEFAULT_ARTIFACT_TOOLBAR_LABELS, DEFAULT_ARTIFACT_VERSION_BAR_LABELS, DEFAULT_REDLINE_LABELS, DEFAULT_VERSION_TIMELINE_LABELS, RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, VersionTimeline } from '../chunk-OTDGTBAS.js';
3
3
  export { DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS, StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
4
4
  import '../chunk-7F6CBP3Z.js';
5
5
  import '../chunk-VUNV25KB.js';
@@ -16,4 +16,4 @@ import { type ChatPageProps } from './chat-page-types';
16
16
  * With `surface="page"` it claims the page-chat slot, so `useChatSurface()` tells the host's dock
17
17
  * to yield: one chat on screen, never two.
18
18
  */
19
- export declare function ChatPage({ chat, surface, header, headerActions, aside, prompts, documentsRequired, emptyTitle, emptyDescription, identity, renderContent, onOpenCitation, workflowStepTitle, singleThread, targetMessageId, asideBreakpoint, fillHeight, minHeight, compactHeader, accept, labels, className, testIds, }: ChatPageProps): import("react").JSX.Element;
19
+ export declare function ChatPage({ chat, surface, header, headerActions, aside, prompts, documentsRequired, emptyTitle, emptyDescription, identity, renderContent, onOpenCitation, workflowStepOf, singleThread, targetMessageId, asideBreakpoint, fillHeight, minHeight, compactHeader, accept, labels, className, testIds, }: ChatPageProps): import("react").JSX.Element;
@@ -0,0 +1,22 @@
1
+ /** Every fixed string of the chip. Pass a partial `labels` to translate or reword. */
2
+ export interface DraftingDocChipLabels {
3
+ /** `{title}` is the open document's name. */
4
+ drafting: string;
5
+ /** What it means, on hover. */
6
+ hint: string;
7
+ }
8
+ export declare const DEFAULT_DRAFTING_DOC_CHIP_LABELS: DraftingDocChipLabels;
9
+ export interface DraftingDocChipProps {
10
+ /** The document open beside the chat (the one the assistant drafts in). */
11
+ title: string;
12
+ className?: string;
13
+ labels?: Partial<DraftingDocChipLabels>;
14
+ testId?: string;
15
+ }
16
+ /**
17
+ * Drafting mode, said in the composer: the document open beside the chat is the one the assistant
18
+ * works in — it reads it on demand and edits it granularly as tracked changes, never as a whole
19
+ * document resent each turn (that is what a pin is for). Not removable: closing the document ends
20
+ * it.
21
+ */
22
+ export declare function DraftingDocChip({ title, className, labels, testId, }: DraftingDocChipProps): import("react").JSX.Element;
@@ -1,13 +1,20 @@
1
1
  /**
2
- * A message the server sent to start a workflow's step, shown as that step: a compact chip
3
- * ("Workflow step · Draft the letter") that expands to the full instruction. Any chat that knows a
4
- * message's step (its `tools.workflow_step`) renders this instead of the raw instruction.
2
+ * A message the server sent to start a workflow's step, shown as that step: centred in the chat
3
+ * like the thread's other events, as the same chip the thread's top bar draws (`StepChip`: the
4
+ * step's kind in its colour and icon, its phase), between two lines in that colour. It expands to
5
+ * the full instruction. Any chat that knows a message's step (its `tools.workflow_step`) renders
6
+ * this instead of the raw instruction.
5
7
  */
8
+ import { type WorkflowStepKind } from '../agents/workflows/stepKinds';
9
+ import type { WorkflowStepPhase } from '../agents/workflows/run';
6
10
  export interface WorkflowStepChipLabels {
7
- /** `{title}` is the step's title (its id when the title is not known). */
11
+ /** The chip's text; `{title}` is the step's title (its id when the title is not known). */
8
12
  chip: string;
13
+ /** Its accessible name; `{kind}` and `{title}` are replaced. */
14
+ name: string;
9
15
  show: string;
10
16
  hide: string;
17
+ kinds: Record<WorkflowStepKind, string>;
11
18
  }
12
19
  export declare const DEFAULT_WORKFLOW_STEP_CHIP_LABELS: WorkflowStepChipLabels;
13
20
  export interface WorkflowStepChipProps {
@@ -15,10 +22,21 @@ export interface WorkflowStepChipProps {
15
22
  step: string;
16
23
  /** The step's title, when the host knows it (from the run's plan). */
17
24
  title?: string;
25
+ /** The step's kind (`stepKindOf`), for its colour and icon; unknown = an AI step. */
26
+ kind?: WorkflowStepKind;
27
+ /** Where the step is now (`stepPhase`); unknown = started. */
28
+ phase?: WorkflowStepPhase;
29
+ /** The step's document (its latest version): a button beside the chip opens it. */
30
+ document?: {
31
+ name: string;
32
+ onOpen: () => void;
33
+ };
18
34
  /** The instruction the step sent. */
19
35
  content: string;
36
+ /** The message it stands for: the chat scrolls to it by this id. */
37
+ messageId?: string;
20
38
  labels?: Partial<WorkflowStepChipLabels>;
21
39
  className?: string;
22
40
  testId?: string;
23
41
  }
24
- export declare function WorkflowStepChip({ step, title, content, labels, className, testId, }: WorkflowStepChipProps): import("react").JSX.Element;
42
+ export declare function WorkflowStepChip({ step, title, kind, phase, document, content, messageId, labels, className, testId, }: WorkflowStepChipProps): import("react").JSX.Element;
@@ -1,4 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
+ import type { WorkflowStepKind } from '../agents/workflows/stepKinds';
3
+ import type { WorkflowStepPhase } from '../agents/workflows/run';
2
4
  import type { MentionCandidate, MessageMentionRef } from './mentions';
3
5
  /**
4
6
  * The view-model of a chat page. It is the shape `useArbiChat()` from `@arbidocs/react` returns,
@@ -177,8 +179,11 @@ export interface ChatPageProps {
177
179
  * shows the source and passage and offers no open action.
178
180
  */
179
181
  onOpenCitation?: (target: ChatCitationTarget) => void;
180
- /** A workflow step's title by id: a message that started a step shows it (else the id). */
181
- workflowStepTitle?: (stepId: string) => string | undefined;
182
+ /**
183
+ * A workflow step by id — its title, kind and phase: a message that started a step shows as that
184
+ * step's chip, as the thread's bar draws it (else its id, as an AI step).
185
+ */
186
+ workflowStepOf?: (stepId: string) => WorkflowStepView | undefined;
182
187
  /**
183
188
  * Container width, in rem, from which `aside` is a column beside the chat; narrower, it is a
184
189
  * button-toggled panel over the transcript. Default 60.
@@ -215,3 +220,14 @@ export interface ChatPageProps {
215
220
  aside: string;
216
221
  }>;
217
222
  }
223
+ /** A workflow step as a chat shows it: its title, kind and where it is. */
224
+ export interface WorkflowStepView {
225
+ title?: string;
226
+ kind?: WorkflowStepKind;
227
+ phase?: WorkflowStepPhase;
228
+ /** The step's document (its latest version): opened from beside its chip. */
229
+ document?: {
230
+ name: string;
231
+ onOpen: () => void;
232
+ };
233
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Mark the message a link took the reader to: a brief, gentle highlight on the message itself (on
3
+ * the theme's accent and ring, `[data-deep-link-target]` in `blocks.css`) that fades out and
4
+ * removes itself, so nothing is left tinted afterwards.
5
+ */
6
+ export declare function flashMessage(el: Element): void;