@bcc-code/vue-bcc-chat-ui 7.0.34 → 7.0.35

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.
package/dist/index.d.ts CHANGED
@@ -3,254 +3,33 @@ import { BaseMessage } from '@cometchat/chat-sdk-javascript';
3
3
  import { ComponentOptionsMixin } from 'vue';
4
4
  import { ComponentProvideOptions } from 'vue';
5
5
  import { ComputedRef } from 'vue';
6
- import { CreateComponentPublicInstanceWithMixins } from 'vue';
7
6
  import { DefineComponent } from 'vue';
8
- import { GlobalComponents } from 'vue';
9
- import { GlobalDirectives } from 'vue';
10
7
  import { Group } from '@cometchat/chat-sdk-javascript';
11
8
  import { MessageReceipt } from '@cometchat/chat-sdk-javascript';
12
9
  import { PublicProps } from 'vue';
13
10
  import { Ref } from 'vue';
14
11
  import { WritableComputedRef } from 'vue';
15
12
 
16
- declare const __VLS_component: DefineComponent<__VLS_Props, {
17
- scrollToMessage: typeof scrollToMessage_2;
13
+ declare const __VLS_base: DefineComponent<__VLS_Props, {
14
+ scrollToMessage: typeof scrollToMessage_2;
18
15
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
19
- chatMembersFetched: (members: ParticipantInfo[]) => any;
20
- chatEmpty: () => any;
21
- linkClicked: (event: MouseEvent, url: string) => any;
16
+ chatMembersFetched: (members: ParticipantInfo[]) => any;
17
+ chatEmpty: () => any;
18
+ linkClicked: (event: MouseEvent, url: string) => any;
22
19
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
23
- onChatMembersFetched?: ((members: ParticipantInfo[]) => any) | undefined;
24
- onChatEmpty?: (() => any) | undefined;
25
- onLinkClicked?: ((event: MouseEvent, url: string) => any) | undefined;
20
+ onChatMembersFetched?: ((members: ParticipantInfo[]) => any) | undefined;
21
+ onChatEmpty?: (() => any) | undefined;
22
+ onLinkClicked?: ((event: MouseEvent, url: string) => any) | undefined;
26
23
  }>, {
27
- client: ChatClient | null;
28
- initialScheduledMessagesOpen: boolean;
29
- chatUid: string;
30
- hideDeletedMessages: boolean;
31
- displayNoMessagesText: boolean;
32
- showMessageHeader: boolean;
33
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
34
- chatRootRef: HTMLDivElement;
35
- mainComposerRef: CreateComponentPublicInstanceWithMixins<Readonly<{
36
- target: ChatTarget;
37
- }> & Readonly<{}>, {
38
- focusEditor: () => Promise<void>;
39
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
40
- composerRef: CreateComponentPublicInstanceWithMixins<Readonly<{
41
- modelValue: string;
42
- disabled: boolean;
43
- resetSignal: number;
44
- showScheduledButton?: boolean;
45
- replyToMessage?: ChatMessageItem | null;
46
- editingMessage?: ChatMessageItem | null;
47
- contextLabel?: string;
48
- offlineMode?: boolean;
49
- pendingQueueCount?: number;
50
- compact?: boolean;
51
- }> & Readonly<{
52
- onScheduleMessage?: ((input: ScheduleMessageInput) => any) | undefined;
53
- onSendAttachment?: ((input: AttachmentUploadInput) => any) | undefined;
54
- onSendPoll?: ((input: PollComposerInput) => any) | undefined;
55
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
56
- onSendText?: (() => any) | undefined;
57
- onOpenScheduled?: (() => any) | undefined;
58
- onCancelReply?: (() => any) | undefined;
59
- onCancelEdit?: (() => any) | undefined;
60
- }>, {
61
- focusEditor: () => Promise<void>;
62
- hideComposerActions: () => void;
63
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
64
- scheduleMessage: (input: ScheduleMessageInput) => any;
65
- sendAttachment: (input: AttachmentUploadInput) => any;
66
- sendPoll: (input: PollComposerInput) => any;
67
- "update:modelValue": (value: string) => any;
68
- sendText: () => any;
69
- openScheduled: () => any;
70
- cancelReply: () => any;
71
- cancelEdit: () => any;
72
- }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
73
- fileInputRef: HTMLInputElement;
74
- composerShellRef: HTMLDivElement;
75
- composerActionsRef: CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
76
- onPickFile?: ((kind: "image" | "video" | "audio" | "file") => any) | undefined;
77
- onOpenPoll?: (() => any) | undefined;
78
- }>, {
79
- toggle: (_event?: Event) => void;
80
- hide: () => void;
81
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
82
- pickFile: (kind: "image" | "video" | "audio" | "file") => any;
83
- openPoll: () => any;
84
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
85
- menuRef: HTMLDivElement;
86
- }, HTMLDivElement, ComponentProvideOptions, {
87
- P: {};
88
- B: {};
89
- D: {};
90
- C: {};
91
- M: {};
92
- Defaults: {};
93
- }, Readonly<{}> & Readonly<{
94
- onPickFile?: ((kind: "image" | "video" | "audio" | "file") => any) | undefined;
95
- onOpenPoll?: (() => any) | undefined;
96
- }>, {
97
- toggle: (_event?: Event) => void;
98
- hide: () => void;
99
- }, {}, {}, {}, {}> | null;
100
- composerEditorRef: HTMLDivElement;
101
- }, HTMLDivElement, ComponentProvideOptions, {
102
- P: {};
103
- B: {};
104
- D: {};
105
- C: {};
106
- M: {};
107
- Defaults: {};
108
- }, Readonly<{
109
- modelValue: string;
110
- disabled: boolean;
111
- resetSignal: number;
112
- showScheduledButton?: boolean;
113
- replyToMessage?: ChatMessageItem | null;
114
- editingMessage?: ChatMessageItem | null;
115
- contextLabel?: string;
116
- offlineMode?: boolean;
117
- pendingQueueCount?: number;
118
- compact?: boolean;
119
- }> & Readonly<{
120
- onScheduleMessage?: ((input: ScheduleMessageInput) => any) | undefined;
121
- onSendAttachment?: ((input: AttachmentUploadInput) => any) | undefined;
122
- onSendPoll?: ((input: PollComposerInput) => any) | undefined;
123
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
124
- onSendText?: (() => any) | undefined;
125
- onOpenScheduled?: (() => any) | undefined;
126
- onCancelReply?: (() => any) | undefined;
127
- onCancelEdit?: (() => any) | undefined;
128
- }>, {
129
- focusEditor: () => Promise<void>;
130
- hideComposerActions: () => void;
131
- }, {}, {}, {}, {}> | null;
132
- }, any, ComponentProvideOptions, {
133
- P: {};
134
- B: {};
135
- D: {};
136
- C: {};
137
- M: {};
138
- Defaults: {};
139
- }, Readonly<{
140
- target: ChatTarget;
141
- }> & Readonly<{}>, {
142
- focusEditor: () => Promise<void>;
143
- }, {}, {}, {}, {}> | null;
144
- threadComposerRef: CreateComponentPublicInstanceWithMixins<Readonly<{
145
- target: ChatTarget;
146
- }> & Readonly<{}>, {
147
- focusEditor: () => Promise<void>;
148
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
149
- composerRef: CreateComponentPublicInstanceWithMixins<Readonly<{
150
- modelValue: string;
151
- disabled: boolean;
152
- resetSignal: number;
153
- showScheduledButton?: boolean;
154
- replyToMessage?: ChatMessageItem | null;
155
- editingMessage?: ChatMessageItem | null;
156
- contextLabel?: string;
157
- offlineMode?: boolean;
158
- pendingQueueCount?: number;
159
- compact?: boolean;
160
- }> & Readonly<{
161
- onScheduleMessage?: ((input: ScheduleMessageInput) => any) | undefined;
162
- onSendAttachment?: ((input: AttachmentUploadInput) => any) | undefined;
163
- onSendPoll?: ((input: PollComposerInput) => any) | undefined;
164
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
165
- onSendText?: (() => any) | undefined;
166
- onOpenScheduled?: (() => any) | undefined;
167
- onCancelReply?: (() => any) | undefined;
168
- onCancelEdit?: (() => any) | undefined;
169
- }>, {
170
- focusEditor: () => Promise<void>;
171
- hideComposerActions: () => void;
172
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
173
- scheduleMessage: (input: ScheduleMessageInput) => any;
174
- sendAttachment: (input: AttachmentUploadInput) => any;
175
- sendPoll: (input: PollComposerInput) => any;
176
- "update:modelValue": (value: string) => any;
177
- sendText: () => any;
178
- openScheduled: () => any;
179
- cancelReply: () => any;
180
- cancelEdit: () => any;
181
- }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
182
- fileInputRef: HTMLInputElement;
183
- composerShellRef: HTMLDivElement;
184
- composerActionsRef: CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
185
- onPickFile?: ((kind: "image" | "video" | "audio" | "file") => any) | undefined;
186
- onOpenPoll?: (() => any) | undefined;
187
- }>, {
188
- toggle: (_event?: Event) => void;
189
- hide: () => void;
190
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
191
- pickFile: (kind: "image" | "video" | "audio" | "file") => any;
192
- openPoll: () => any;
193
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
194
- menuRef: HTMLDivElement;
195
- }, HTMLDivElement, ComponentProvideOptions, {
196
- P: {};
197
- B: {};
198
- D: {};
199
- C: {};
200
- M: {};
201
- Defaults: {};
202
- }, Readonly<{}> & Readonly<{
203
- onPickFile?: ((kind: "image" | "video" | "audio" | "file") => any) | undefined;
204
- onOpenPoll?: (() => any) | undefined;
205
- }>, {
206
- toggle: (_event?: Event) => void;
207
- hide: () => void;
208
- }, {}, {}, {}, {}> | null;
209
- composerEditorRef: HTMLDivElement;
210
- }, HTMLDivElement, ComponentProvideOptions, {
211
- P: {};
212
- B: {};
213
- D: {};
214
- C: {};
215
- M: {};
216
- Defaults: {};
217
- }, Readonly<{
218
- modelValue: string;
219
- disabled: boolean;
220
- resetSignal: number;
221
- showScheduledButton?: boolean;
222
- replyToMessage?: ChatMessageItem | null;
223
- editingMessage?: ChatMessageItem | null;
224
- contextLabel?: string;
225
- offlineMode?: boolean;
226
- pendingQueueCount?: number;
227
- compact?: boolean;
228
- }> & Readonly<{
229
- onScheduleMessage?: ((input: ScheduleMessageInput) => any) | undefined;
230
- onSendAttachment?: ((input: AttachmentUploadInput) => any) | undefined;
231
- onSendPoll?: ((input: PollComposerInput) => any) | undefined;
232
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
233
- onSendText?: (() => any) | undefined;
234
- onOpenScheduled?: (() => any) | undefined;
235
- onCancelReply?: (() => any) | undefined;
236
- onCancelEdit?: (() => any) | undefined;
237
- }>, {
238
- focusEditor: () => Promise<void>;
239
- hideComposerActions: () => void;
240
- }, {}, {}, {}, {}> | null;
241
- }, any, ComponentProvideOptions, {
242
- P: {};
243
- B: {};
244
- D: {};
245
- C: {};
246
- M: {};
247
- Defaults: {};
248
- }, Readonly<{
249
- target: ChatTarget;
250
- }> & Readonly<{}>, {
251
- focusEditor: () => Promise<void>;
252
- }, {}, {}, {}, {}> | null;
253
- }, HTMLDivElement>;
24
+ client: ChatClient | null;
25
+ initialScheduledMessagesOpen: boolean;
26
+ chatUid: string;
27
+ hideDeletedMessages: boolean;
28
+ displayNoMessagesText: boolean;
29
+ showMessageHeader: boolean;
30
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
31
+
32
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
254
33
 
255
34
  declare type __VLS_Props = {
256
35
  client?: ChatClient | null;
@@ -276,246 +55,13 @@ declare type __VLS_Props = {
276
55
  actionMessageRowClass?: string;
277
56
  };
278
57
 
279
- declare function __VLS_template(): {
280
- attrs: Partial<{}>;
281
- slots: {
282
- 'message-header'?(_: {
283
- conversation: ChatConversationItem | null;
284
- parentMessage: ChatMessageItem | null;
285
- target: ChatTarget;
286
- title: string;
287
- subtitle: string;
288
- memberCount: number;
289
- }): any;
290
- 'no-messages'?(_: {}): any;
291
- };
292
- refs: {
293
- chatRootRef: HTMLDivElement;
294
- mainComposerRef: CreateComponentPublicInstanceWithMixins<Readonly<{
295
- target: ChatTarget;
296
- }> & Readonly<{}>, {
297
- focusEditor: () => Promise<void>;
298
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
299
- composerRef: CreateComponentPublicInstanceWithMixins<Readonly<{
300
- modelValue: string;
301
- disabled: boolean;
302
- resetSignal: number;
303
- showScheduledButton?: boolean;
304
- replyToMessage?: ChatMessageItem | null;
305
- editingMessage?: ChatMessageItem | null;
306
- contextLabel?: string;
307
- offlineMode?: boolean;
308
- pendingQueueCount?: number;
309
- compact?: boolean;
310
- }> & Readonly<{
311
- onScheduleMessage?: ((input: ScheduleMessageInput) => any) | undefined;
312
- onSendAttachment?: ((input: AttachmentUploadInput) => any) | undefined;
313
- onSendPoll?: ((input: PollComposerInput) => any) | undefined;
314
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
315
- onSendText?: (() => any) | undefined;
316
- onOpenScheduled?: (() => any) | undefined;
317
- onCancelReply?: (() => any) | undefined;
318
- onCancelEdit?: (() => any) | undefined;
319
- }>, {
320
- focusEditor: () => Promise<void>;
321
- hideComposerActions: () => void;
322
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
323
- scheduleMessage: (input: ScheduleMessageInput) => any;
324
- sendAttachment: (input: AttachmentUploadInput) => any;
325
- sendPoll: (input: PollComposerInput) => any;
326
- "update:modelValue": (value: string) => any;
327
- sendText: () => any;
328
- openScheduled: () => any;
329
- cancelReply: () => any;
330
- cancelEdit: () => any;
331
- }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
332
- fileInputRef: HTMLInputElement;
333
- composerShellRef: HTMLDivElement;
334
- composerActionsRef: CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
335
- onPickFile?: ((kind: "image" | "video" | "audio" | "file") => any) | undefined;
336
- onOpenPoll?: (() => any) | undefined;
337
- }>, {
338
- toggle: (_event?: Event) => void;
339
- hide: () => void;
340
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
341
- pickFile: (kind: "image" | "video" | "audio" | "file") => any;
342
- openPoll: () => any;
343
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
344
- menuRef: HTMLDivElement;
345
- }, HTMLDivElement, ComponentProvideOptions, {
346
- P: {};
347
- B: {};
348
- D: {};
349
- C: {};
350
- M: {};
351
- Defaults: {};
352
- }, Readonly<{}> & Readonly<{
353
- onPickFile?: ((kind: "image" | "video" | "audio" | "file") => any) | undefined;
354
- onOpenPoll?: (() => any) | undefined;
355
- }>, {
356
- toggle: (_event?: Event) => void;
357
- hide: () => void;
358
- }, {}, {}, {}, {}> | null;
359
- composerEditorRef: HTMLDivElement;
360
- }, HTMLDivElement, ComponentProvideOptions, {
361
- P: {};
362
- B: {};
363
- D: {};
364
- C: {};
365
- M: {};
366
- Defaults: {};
367
- }, Readonly<{
368
- modelValue: string;
369
- disabled: boolean;
370
- resetSignal: number;
371
- showScheduledButton?: boolean;
372
- replyToMessage?: ChatMessageItem | null;
373
- editingMessage?: ChatMessageItem | null;
374
- contextLabel?: string;
375
- offlineMode?: boolean;
376
- pendingQueueCount?: number;
377
- compact?: boolean;
378
- }> & Readonly<{
379
- onScheduleMessage?: ((input: ScheduleMessageInput) => any) | undefined;
380
- onSendAttachment?: ((input: AttachmentUploadInput) => any) | undefined;
381
- onSendPoll?: ((input: PollComposerInput) => any) | undefined;
382
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
383
- onSendText?: (() => any) | undefined;
384
- onOpenScheduled?: (() => any) | undefined;
385
- onCancelReply?: (() => any) | undefined;
386
- onCancelEdit?: (() => any) | undefined;
387
- }>, {
388
- focusEditor: () => Promise<void>;
389
- hideComposerActions: () => void;
390
- }, {}, {}, {}, {}> | null;
391
- }, any, ComponentProvideOptions, {
392
- P: {};
393
- B: {};
394
- D: {};
395
- C: {};
396
- M: {};
397
- Defaults: {};
398
- }, Readonly<{
399
- target: ChatTarget;
400
- }> & Readonly<{}>, {
401
- focusEditor: () => Promise<void>;
402
- }, {}, {}, {}, {}> | null;
403
- threadComposerRef: CreateComponentPublicInstanceWithMixins<Readonly<{
404
- target: ChatTarget;
405
- }> & Readonly<{}>, {
406
- focusEditor: () => Promise<void>;
407
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
408
- composerRef: CreateComponentPublicInstanceWithMixins<Readonly<{
409
- modelValue: string;
410
- disabled: boolean;
411
- resetSignal: number;
412
- showScheduledButton?: boolean;
413
- replyToMessage?: ChatMessageItem | null;
414
- editingMessage?: ChatMessageItem | null;
415
- contextLabel?: string;
416
- offlineMode?: boolean;
417
- pendingQueueCount?: number;
418
- compact?: boolean;
419
- }> & Readonly<{
420
- onScheduleMessage?: ((input: ScheduleMessageInput) => any) | undefined;
421
- onSendAttachment?: ((input: AttachmentUploadInput) => any) | undefined;
422
- onSendPoll?: ((input: PollComposerInput) => any) | undefined;
423
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
424
- onSendText?: (() => any) | undefined;
425
- onOpenScheduled?: (() => any) | undefined;
426
- onCancelReply?: (() => any) | undefined;
427
- onCancelEdit?: (() => any) | undefined;
428
- }>, {
429
- focusEditor: () => Promise<void>;
430
- hideComposerActions: () => void;
431
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
432
- scheduleMessage: (input: ScheduleMessageInput) => any;
433
- sendAttachment: (input: AttachmentUploadInput) => any;
434
- sendPoll: (input: PollComposerInput) => any;
435
- "update:modelValue": (value: string) => any;
436
- sendText: () => any;
437
- openScheduled: () => any;
438
- cancelReply: () => any;
439
- cancelEdit: () => any;
440
- }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
441
- fileInputRef: HTMLInputElement;
442
- composerShellRef: HTMLDivElement;
443
- composerActionsRef: CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
444
- onPickFile?: ((kind: "image" | "video" | "audio" | "file") => any) | undefined;
445
- onOpenPoll?: (() => any) | undefined;
446
- }>, {
447
- toggle: (_event?: Event) => void;
448
- hide: () => void;
449
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
450
- pickFile: (kind: "image" | "video" | "audio" | "file") => any;
451
- openPoll: () => any;
452
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
453
- menuRef: HTMLDivElement;
454
- }, HTMLDivElement, ComponentProvideOptions, {
455
- P: {};
456
- B: {};
457
- D: {};
458
- C: {};
459
- M: {};
460
- Defaults: {};
461
- }, Readonly<{}> & Readonly<{
462
- onPickFile?: ((kind: "image" | "video" | "audio" | "file") => any) | undefined;
463
- onOpenPoll?: (() => any) | undefined;
464
- }>, {
465
- toggle: (_event?: Event) => void;
466
- hide: () => void;
467
- }, {}, {}, {}, {}> | null;
468
- composerEditorRef: HTMLDivElement;
469
- }, HTMLDivElement, ComponentProvideOptions, {
470
- P: {};
471
- B: {};
472
- D: {};
473
- C: {};
474
- M: {};
475
- Defaults: {};
476
- }, Readonly<{
477
- modelValue: string;
478
- disabled: boolean;
479
- resetSignal: number;
480
- showScheduledButton?: boolean;
481
- replyToMessage?: ChatMessageItem | null;
482
- editingMessage?: ChatMessageItem | null;
483
- contextLabel?: string;
484
- offlineMode?: boolean;
485
- pendingQueueCount?: number;
486
- compact?: boolean;
487
- }> & Readonly<{
488
- onScheduleMessage?: ((input: ScheduleMessageInput) => any) | undefined;
489
- onSendAttachment?: ((input: AttachmentUploadInput) => any) | undefined;
490
- onSendPoll?: ((input: PollComposerInput) => any) | undefined;
491
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
492
- onSendText?: (() => any) | undefined;
493
- onOpenScheduled?: (() => any) | undefined;
494
- onCancelReply?: (() => any) | undefined;
495
- onCancelEdit?: (() => any) | undefined;
496
- }>, {
497
- focusEditor: () => Promise<void>;
498
- hideComposerActions: () => void;
499
- }, {}, {}, {}, {}> | null;
500
- }, any, ComponentProvideOptions, {
501
- P: {};
502
- B: {};
503
- D: {};
504
- C: {};
505
- M: {};
506
- Defaults: {};
507
- }, Readonly<{
508
- target: ChatTarget;
509
- }> & Readonly<{}>, {
510
- focusEditor: () => Promise<void>;
511
- }, {}, {}, {}, {}> | null;
512
- };
513
- rootEl: HTMLDivElement;
58
+ declare type __VLS_Slots = {} & {
59
+ 'message-header'?: (props: typeof __VLS_16) => any;
60
+ } & {
61
+ 'no-messages'?: (props: typeof __VLS_70) => any;
514
62
  };
515
63
 
516
- declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
517
-
518
- declare type __VLS_WithTemplateSlots<T, S> = T & {
64
+ declare type __VLS_WithSlots<T, S> = T & {
519
65
  new (): {
520
66
  $slots: S;
521
67
  };
@@ -582,21 +128,21 @@ declare const chat: {
582
128
  };
583
129
  onlineMode: WritableComputedRef<OnlineStatus, OnlineStatus>;
584
130
  onlineStatus: ComputedRef<OnlineStatus>;
585
- theme: Ref< {
586
- palette: {
587
- mode: ThemeMode;
588
- setMode: (mode: ThemeMode) => void;
589
- };
131
+ theme: Ref<{
132
+ palette: {
133
+ mode: ThemeMode;
134
+ setMode: (mode: ThemeMode) => void;
135
+ };
590
136
  }, {
591
- palette: {
592
- mode: ThemeMode;
593
- setMode(mode: ThemeMode): void;
594
- };
137
+ palette: {
138
+ mode: ThemeMode;
139
+ setMode(mode: ThemeMode): void;
140
+ };
595
141
  } | {
596
- palette: {
597
- mode: ThemeMode;
598
- setMode: (mode: ThemeMode) => void;
599
- };
142
+ palette: {
143
+ mode: ThemeMode;
144
+ setMode: (mode: ThemeMode) => void;
145
+ };
600
146
  }>;
601
147
  themeMode: Ref<ThemeMode, ThemeMode>;
602
148
  language: Ref<Language, Language>;
@@ -828,9 +374,6 @@ export declare interface ChatScheduledInfo {
828
374
  messageId?: number;
829
375
  }
830
376
 
831
- /** Target identifier used to distinguish main-conversation from thread actions. */
832
- declare type ChatTarget = "main" | "thread";
833
-
834
377
  export declare interface ChatUserProfile {
835
378
  uid: string;
836
379
  name: string;
@@ -848,7 +391,7 @@ declare interface CreateChatClientOptions {
848
391
  environment: Environment;
849
392
  }
850
393
 
851
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
394
+ declare const _default: typeof __VLS_export;
852
395
  export { _default as BccChat }
853
396
  export { _default as BccChatMessageList }
854
397