@poolse/react-native 3.8.0 → 3.10.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.
- package/CHANGELOG.md +60 -0
- package/README.md +181 -0
- package/dist/index.cjs +10303 -5196
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +862 -17
- package/dist/index.d.ts +862 -17
- package/dist/index.js +10202 -5161
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, ReactElement } from 'react';
|
|
3
|
-
import { Conversation, Uuid, Message, LiveCall, AttachmentUploadInput, Membership, PresenceState,
|
|
3
|
+
import { Conversation, Uuid, Citation, Message, MeetingMoment, LiveCall, RecordingMode, ConsentDecision, CallAgent, AgentEscalation, EscalationReply, AgentApproval, Attachment, CallSummary, RoomSession, GuestLobbyStatus, MeetingCard as MeetingCard$1, RsvpResponse, RoomPresenceEntry, AnnotationState, LiveTranscriptSegment, CallConnectionQuality, CallNetworkIssue, CallReaction, WhiteboardItem, WhiteboardModel, AttachmentUploadInput, Membership, PresenceState, LinkPreview, Poolse, Block, BlockActionRequest, CatchUp, Poll } from '@poolse/sdk';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
6
|
+
import { GroupPosition, UseCallAgents, UseWhisper, UseAgenda, UseBreakouts, UseLobby, UseMoments, UseQuestions, UseStage, FormatKind, SlashCommand, DlpOutcome, MentionGroup, CustomEmoji } from '@poolse/react';
|
|
7
7
|
import { ThemeInput, ColorSchemePreference, NativeThemeOptions, NativeTheme } from '@poolse/theme';
|
|
8
8
|
export { BUILT_IN_THEME_IDS, BuiltInThemeId, ColorScheme, ColorSchemePreference, DEFAULT_THEME_ID, FlatThemeTokens, Theme, ThemeInput, createTheme, decodeTheme, encodeTheme, tokensFromFlat } from '@poolse/theme';
|
|
9
9
|
|
|
@@ -87,6 +87,62 @@ interface PoolseInboxHandle {
|
|
|
87
87
|
*/
|
|
88
88
|
declare const PoolseInbox: react.ForwardRefExoticComponent<PoolseInboxProps & react.RefAttributes<PoolseInboxHandle>>;
|
|
89
89
|
|
|
90
|
+
/**
|
|
91
|
+
* What a media adapter gets (see `renderMedia`). A controlled player:
|
|
92
|
+
* follow `paused` and `rate`, seek when `seek.nonce` changes, and report
|
|
93
|
+
* the position (a few times a second), the duration, the end and errors.
|
|
94
|
+
*/
|
|
95
|
+
interface PoolseMediaProps {
|
|
96
|
+
uri: string;
|
|
97
|
+
contentType: string | null;
|
|
98
|
+
kind: 'audio' | 'video';
|
|
99
|
+
paused: boolean;
|
|
100
|
+
rate: number;
|
|
101
|
+
/** A seek request: go to `ms` whenever `nonce` changes. Null: none yet. */
|
|
102
|
+
seek: {
|
|
103
|
+
ms: number;
|
|
104
|
+
nonce: number;
|
|
105
|
+
} | null;
|
|
106
|
+
onProgress: (positionMs: number) => void;
|
|
107
|
+
onLoad: (durationMs: number | null) => void;
|
|
108
|
+
onEnd: () => void;
|
|
109
|
+
onError: (error: unknown) => void;
|
|
110
|
+
style?: StyleProp<ViewStyle>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Plays a recording or clip. @poolse/react-native ships no media player
|
|
114
|
+
* of its own: wire the one your app uses (expo-video, expo-audio,
|
|
115
|
+
* react-native-video) — the README has an expo-video adapter. Without
|
|
116
|
+
* one, players show their chapters and transcript but no media.
|
|
117
|
+
*/
|
|
118
|
+
type RenderMedia = (props: PoolseMediaProps) => ReactNode;
|
|
119
|
+
interface MessageExtrasHandlers {
|
|
120
|
+
/**
|
|
121
|
+
* A citation was pressed. A `message` citation: focus that message;
|
|
122
|
+
* `transcript`: open the call at `startMs`; `file`: open the file.
|
|
123
|
+
* `<ConversationView>` focuses messages of its own conversation by
|
|
124
|
+
* itself when this isn't given.
|
|
125
|
+
*/
|
|
126
|
+
onOpenCitation?: (citation: Citation, message: Message) => void;
|
|
127
|
+
/**
|
|
128
|
+
* A point in a call was pressed: open its recording at `recordingMs`
|
|
129
|
+
* (when `recordingId` is set) or its transcript at `startMs`.
|
|
130
|
+
*/
|
|
131
|
+
onOpenMoment?: (moment: MeetingMoment) => void;
|
|
132
|
+
/** A poolse user id → display name (assignees in summaries). Unknown: null. */
|
|
133
|
+
nameForUserId?: (userId: string) => string | null | undefined;
|
|
134
|
+
/** A poolse user id → their `external_id`, so a name resolves live with `useUser`. */
|
|
135
|
+
externalIdForUserId?: (userId: string) => string | null | undefined;
|
|
136
|
+
/** The media adapter for clips in chat (and any player without its own). */
|
|
137
|
+
renderMedia?: RenderMedia;
|
|
138
|
+
}
|
|
139
|
+
declare function MessageExtrasProvider({ value, children, }: {
|
|
140
|
+
value: MessageExtrasHandlers;
|
|
141
|
+
children: ReactNode;
|
|
142
|
+
}): react_jsx_runtime.JSX.Element;
|
|
143
|
+
/** The nearest `MessageExtrasProvider`'s handlers (empty without one). */
|
|
144
|
+
declare function useMessageExtras(): MessageExtrasHandlers;
|
|
145
|
+
|
|
90
146
|
/**
|
|
91
147
|
* - `bubbles` — chat bubbles, own messages on the right (the default).
|
|
92
148
|
* - `list` — Slack-style full-width rows: avatar, name and time once
|
|
@@ -262,6 +318,11 @@ interface MessageRowProps {
|
|
|
262
318
|
onAvatarPress?: (user: MessageUser) => void;
|
|
263
319
|
/** Call-log rows: offer "Call back" (see `<CallLogRow onCallBack>`). */
|
|
264
320
|
onCallBack?: (media: 'audio' | 'video') => void;
|
|
321
|
+
/**
|
|
322
|
+
* A poolse user id → display name, for system lines that name people
|
|
323
|
+
* by internal id (the recording notice). Unknown: the name is left out.
|
|
324
|
+
*/
|
|
325
|
+
nameForUserId?: (userId: string) => string | null | undefined;
|
|
265
326
|
/** `'bubbles'` (default), `'list'` or `'compact'` — see `ChatLayout`. */
|
|
266
327
|
layout?: ChatLayout;
|
|
267
328
|
/** `'comfortable'` (default) or `'compact'` spacing. */
|
|
@@ -448,6 +509,22 @@ interface ConversationViewProps {
|
|
|
448
509
|
* (the viewer is in the room, or ringing out as its caller).
|
|
449
510
|
*/
|
|
450
511
|
currentCallId?: string | null;
|
|
512
|
+
/**
|
|
513
|
+
* A source under an assistant's answer was pressed (AG5). Without it,
|
|
514
|
+
* message sources in this conversation are focused here.
|
|
515
|
+
*/
|
|
516
|
+
onOpenCitation?: (citation: Citation, message: Message) => void;
|
|
517
|
+
/**
|
|
518
|
+
* A point in a call was pressed — a line or moment of a summary (RT6):
|
|
519
|
+
* open its recording at `moment.recordingMs` or transcript at `moment.startMs`.
|
|
520
|
+
*/
|
|
521
|
+
onOpenMoment?: (moment: MeetingMoment) => void;
|
|
522
|
+
/**
|
|
523
|
+
* Plays clips in chat (RT9): your media adapter (expo-video,
|
|
524
|
+
* expo-audio…) — see `RenderMedia` and the README. Without it a clip
|
|
525
|
+
* shows its time range only.
|
|
526
|
+
*/
|
|
527
|
+
renderMedia?: RenderMedia;
|
|
451
528
|
/** Presence badges on message avatars (where avatars show). Defaults to `false`. */
|
|
452
529
|
showPresence?: boolean;
|
|
453
530
|
/**
|
|
@@ -490,7 +567,7 @@ interface ConversationViewProps {
|
|
|
490
567
|
/** Fires after "Mark unread" succeeded (the unread counts follow over realtime). */
|
|
491
568
|
onMarkedUnread?: (conversationId: string, messageId: string) => void;
|
|
492
569
|
}
|
|
493
|
-
declare function ConversationView({ conversationId, emptyState, renderMessage, labelFor, avatarFor, header, onHeaderMembersPress, onHeaderPress, reactions, mentions, attachments, actions, threads, quotations, readReceipts, markdown, maxBodyLength, senderLabels, avatars, onMarkedRead, onSent, focusMessageId, onFocusMessageNotFound, onSenderPress, onAvatarPress, composer, readOnly, keyboardOffset, onCallBack, onJoinCall, currentCallId, layout, density, showAvatars: showAvatarsProp, timeFormat, groupWindowMinutes, daySeparators, slots, showPresence, linkPreviews, newMessagesDivider, persistDrafts, draftStorage, emojiPicker, maxFileSize, acceptedFileTypes, markUnread, onMarkedUnread, }: ConversationViewProps): react_jsx_runtime.JSX.Element;
|
|
570
|
+
declare function ConversationView({ conversationId, emptyState, renderMessage, labelFor, avatarFor, header, onHeaderMembersPress, onHeaderPress, reactions, mentions, attachments, actions, threads, quotations, readReceipts, markdown, maxBodyLength, senderLabels, avatars, onMarkedRead, onSent, focusMessageId, onFocusMessageNotFound, onSenderPress, onAvatarPress, composer, readOnly, keyboardOffset, onCallBack, onJoinCall, currentCallId, onOpenCitation, onOpenMoment, renderMedia, layout, density, showAvatars: showAvatarsProp, timeFormat, groupWindowMinutes, daySeparators, slots, showPresence, linkPreviews, newMessagesDivider, persistDrafts, draftStorage, emojiPicker, maxFileSize, acceptedFileTypes, markUnread, onMarkedUnread, }: ConversationViewProps): react_jsx_runtime.JSX.Element;
|
|
494
571
|
|
|
495
572
|
interface ChatHeaderProps {
|
|
496
573
|
conversationId: Uuid;
|
|
@@ -599,6 +676,550 @@ interface LiveCallBannerProps {
|
|
|
599
676
|
*/
|
|
600
677
|
declare function LiveCallBanner({ call, inCall, onJoin }: LiveCallBannerProps): react_jsx_runtime.JSX.Element;
|
|
601
678
|
|
|
679
|
+
interface RecordingBannerProps {
|
|
680
|
+
/** A recording is running. */
|
|
681
|
+
recording: boolean;
|
|
682
|
+
/** A live transcript is running. */
|
|
683
|
+
transcribing?: boolean;
|
|
684
|
+
mode?: RecordingMode | null;
|
|
685
|
+
/** Capture needs consent here (`useRecording().consentRequired`). */
|
|
686
|
+
consentRequired?: boolean;
|
|
687
|
+
/** Your answer (`useRecording().myConsent`). `declined` shows "listen-only" and a way to change it. */
|
|
688
|
+
myConsent?: ConsentDecision | null;
|
|
689
|
+
/** Shows a Stop button (for whoever may stop it). */
|
|
690
|
+
onStop?: () => void;
|
|
691
|
+
/** After declining: reopen the prompt. */
|
|
692
|
+
onChangeConsent?: () => void;
|
|
693
|
+
/** Disable the buttons (a request is in flight). */
|
|
694
|
+
pending?: boolean;
|
|
695
|
+
style?: StyleProp<ViewStyle>;
|
|
696
|
+
}
|
|
697
|
+
/**
|
|
698
|
+
* "● Recording · Everyone in the call is told [Stop]" — a strip across
|
|
699
|
+
* a captured call, for everyone in it (late joiners too). Renders nothing
|
|
700
|
+
* while nothing is captured.
|
|
701
|
+
*/
|
|
702
|
+
declare function RecordingBanner({ recording, transcribing, mode, consentRequired, myConsent, onStop, onChangeConsent, pending, style, }: RecordingBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
703
|
+
interface RecordingIndicatorProps {
|
|
704
|
+
recording: boolean;
|
|
705
|
+
transcribing?: boolean;
|
|
706
|
+
mode?: RecordingMode | null;
|
|
707
|
+
/** Text colour, e.g. white over video. Defaults to the theme's danger colour. */
|
|
708
|
+
color?: string;
|
|
709
|
+
style?: StyleProp<ViewStyle>;
|
|
710
|
+
}
|
|
711
|
+
/** A small "● REC" pill for a call header or tile. Nothing while nothing is captured. */
|
|
712
|
+
declare function RecordingIndicator({ recording, transcribing, mode, color, style, }: RecordingIndicatorProps): react_jsx_runtime.JSX.Element | null;
|
|
713
|
+
interface ConsentPromptProps {
|
|
714
|
+
/** A recording is running. */
|
|
715
|
+
recording: boolean;
|
|
716
|
+
/** A live transcript is running. */
|
|
717
|
+
transcribing?: boolean;
|
|
718
|
+
mode?: RecordingMode | null;
|
|
719
|
+
/** Who started it, if known. Never pass a raw id. */
|
|
720
|
+
startedByName?: string | null;
|
|
721
|
+
/** Answer (e.g. `useRecording().consent`). A `false` result keeps the prompt open with an error. */
|
|
722
|
+
onAnswer: (decision: ConsentDecision) => Promise<boolean | void> | boolean | void;
|
|
723
|
+
/**
|
|
724
|
+
* Called once an accept went through: publishing is allowed again.
|
|
725
|
+
* With the native call core, re-enable the microphone and camera here;
|
|
726
|
+
* the SDK's `CallRoom` does it by itself.
|
|
727
|
+
*/
|
|
728
|
+
onAccepted?: () => void;
|
|
729
|
+
/** Called after a decline went through (e.g. close the prompt). */
|
|
730
|
+
onDeclined?: () => void;
|
|
731
|
+
pending?: boolean;
|
|
732
|
+
error?: string | null;
|
|
733
|
+
/** Cover the parent with a scrim (absolute fill). Defaults to true; false renders the card only. */
|
|
734
|
+
overlay?: boolean;
|
|
735
|
+
style?: StyleProp<ViewStyle>;
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* Asks someone in a captured call for consent — shown to anyone who
|
|
739
|
+
* hasn't accepted, late joiners included, when the room requires it.
|
|
740
|
+
* Until they agree their microphone and camera stay off; they still hear
|
|
741
|
+
* and see everyone. Declining keeps them listen-only.
|
|
742
|
+
*/
|
|
743
|
+
declare function ConsentPrompt({ recording, transcribing, mode, startedByName, onAnswer, onAccepted, onDeclined, pending, error, overlay, style, }: ConsentPromptProps): react_jsx_runtime.JSX.Element;
|
|
744
|
+
interface RecordingNoticeRowProps {
|
|
745
|
+
/** The recording notice message. Rows that aren't one render nothing. */
|
|
746
|
+
msg: Pick<Message, 'type' | 'body' | 'inserted_at'> & {
|
|
747
|
+
deleted_at?: string | null;
|
|
748
|
+
};
|
|
749
|
+
/** Current user's id — "by you". */
|
|
750
|
+
meId: string | null;
|
|
751
|
+
/** A poolse user id → display name. Unknown: the name is left out. */
|
|
752
|
+
nameFor?: (userId: Uuid) => string | null | undefined;
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
* "● Recording started · by Elena · 10:04" — the chat line the server
|
|
756
|
+
* posts when a recording starts or stops. `<MessageRow>` renders it.
|
|
757
|
+
*/
|
|
758
|
+
declare function RecordingNoticeRow({ msg, meId, nameFor }: RecordingNoticeRowProps): react_jsx_runtime.JSX.Element | null;
|
|
759
|
+
|
|
760
|
+
interface LiveTranscriptPanelProps {
|
|
761
|
+
/** The call. Null renders an empty panel. */
|
|
762
|
+
callId: string | null;
|
|
763
|
+
/** Keep the transcript topic open. Defaults to true; false while the panel is hidden. */
|
|
764
|
+
enabled?: boolean;
|
|
765
|
+
/** Start / Stop transcription buttons (someone in the call). Defaults to true. */
|
|
766
|
+
showControls?: boolean;
|
|
767
|
+
/** Shows a close button. */
|
|
768
|
+
onClose?: () => void;
|
|
769
|
+
title?: string;
|
|
770
|
+
style?: StyleProp<ViewStyle>;
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* The call's live transcript as it is spoken: speaker, time and text,
|
|
774
|
+
* the current speaker's words in grey until they are final. Opens the
|
|
775
|
+
* transcript topic while mounted (the last 200 lines arrive at once)
|
|
776
|
+
* and sticks to the bottom unless you scroll up.
|
|
777
|
+
*/
|
|
778
|
+
declare function LiveTranscriptPanel({ callId, enabled, showControls, onClose, title, style, }: LiveTranscriptPanelProps): react_jsx_runtime.JSX.Element;
|
|
779
|
+
interface TranscriptViewerProps {
|
|
780
|
+
/** The call whose stored transcript to show. */
|
|
781
|
+
callId: string | null;
|
|
782
|
+
/**
|
|
783
|
+
* Offer speaker renames. Defaults to true; the server allows it for
|
|
784
|
+
* people who took part in the call and the conversation's owners and
|
|
785
|
+
* admins, and anyone else gets an explanation instead.
|
|
786
|
+
*/
|
|
787
|
+
canRename?: boolean;
|
|
788
|
+
/** Makes timestamps pressable, e.g. to seek a recording (ms since the transcript started). */
|
|
789
|
+
onSeek?: (ms: number) => void;
|
|
790
|
+
title?: string;
|
|
791
|
+
style?: StyleProp<ViewStyle>;
|
|
792
|
+
}
|
|
793
|
+
/**
|
|
794
|
+
* A call's stored transcript: who spoke, when, and what they said;
|
|
795
|
+
* search within it; and correct a speaker's name (everyone viewing sees
|
|
796
|
+
* the change at once).
|
|
797
|
+
*/
|
|
798
|
+
declare function TranscriptViewer({ callId, canRename, onSeek, title, style, }: TranscriptViewerProps): react_jsx_runtime.JSX.Element | null;
|
|
799
|
+
|
|
800
|
+
interface AgentBadgeProps {
|
|
801
|
+
/** `sm` (default) beside names in lists; `xs` in dense rows. */
|
|
802
|
+
size?: 'xs' | 'sm';
|
|
803
|
+
/** Defaults to "Agent". */
|
|
804
|
+
label?: string;
|
|
805
|
+
style?: StyleProp<ViewStyle>;
|
|
806
|
+
}
|
|
807
|
+
declare function AgentBadge({ size, label, style }: AgentBadgeProps): react_jsx_runtime.JSX.Element;
|
|
808
|
+
/**
|
|
809
|
+
* The badge as nested text, for inside a `<Text>` (a sender label that
|
|
810
|
+
* is itself pressable text). Same wording and color as `<AgentBadge>`.
|
|
811
|
+
*/
|
|
812
|
+
declare function AgentBadgeInline({ label }: {
|
|
813
|
+
label?: string;
|
|
814
|
+
}): react_jsx_runtime.JSX.Element;
|
|
815
|
+
|
|
816
|
+
interface CallAgentTagProps {
|
|
817
|
+
agent: Pick<CallAgent, 'mode' | 'status' | 'speaking'>;
|
|
818
|
+
/** Show what it's doing ("Taking notes"). Defaults to true. */
|
|
819
|
+
showState?: boolean;
|
|
820
|
+
/** The participant's live speaking flag; overrides the agent's. */
|
|
821
|
+
speaking?: boolean;
|
|
822
|
+
/** Over video: light text. */
|
|
823
|
+
onMedia?: boolean;
|
|
824
|
+
style?: StyleProp<ViewStyle>;
|
|
825
|
+
}
|
|
826
|
+
/** The Agent badge with the agent's state — beside its name wherever it's listed in a call. */
|
|
827
|
+
declare function CallAgentTag({ agent, showState, speaking, onMedia, style, }: CallAgentTagProps): react_jsx_runtime.JSX.Element;
|
|
828
|
+
interface InviteAgentMenuProps {
|
|
829
|
+
/** `useCallAgents(conversationId, callId)`. */
|
|
830
|
+
callAgents: UseCallAgents;
|
|
831
|
+
onDone?: () => void;
|
|
832
|
+
style?: StyleProp<ViewStyle>;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* Bring a note-taker (silent: transcript, summary and tasks) or an
|
|
836
|
+
* assistant (answers when addressed by name) into the call, switch
|
|
837
|
+
* one's mode, or send one out.
|
|
838
|
+
*/
|
|
839
|
+
declare function InviteAgentMenu({ callAgents, onDone, style }: InviteAgentMenuProps): react_jsx_runtime.JSX.Element;
|
|
840
|
+
interface WhisperPanelProps {
|
|
841
|
+
/** `useWhisper(callId)`. */
|
|
842
|
+
whisper: UseWhisper;
|
|
843
|
+
/** Height of the hint list before it scrolls. Defaults to 320. */
|
|
844
|
+
maxHeight?: number;
|
|
845
|
+
style?: StyleProp<ViewStyle>;
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Private hints during a call — facts, what you promised last time,
|
|
849
|
+
* questions to raise. Only you see them; the panel says so.
|
|
850
|
+
*/
|
|
851
|
+
declare function WhisperPanel({ whisper, maxHeight, style }: WhisperPanelProps): react_jsx_runtime.JSX.Element;
|
|
852
|
+
interface EscalationCardProps {
|
|
853
|
+
escalation: AgentEscalation;
|
|
854
|
+
/** The agent's name; defaults to the directory's, else "Your agent". */
|
|
855
|
+
agentName?: string | null;
|
|
856
|
+
meetingTitle?: string | null;
|
|
857
|
+
/** Defaults to `poolse.escalations.reply`. */
|
|
858
|
+
reply?: (id: string, reply: EscalationReply) => Promise<unknown>;
|
|
859
|
+
onReplied?: (escalation: AgentEscalation) => void;
|
|
860
|
+
style?: StyleProp<ViewStyle>;
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
* Your agent, in a meeting for you, asking something its brief doesn't
|
|
864
|
+
* cover: Approve, Decline, or write an answer.
|
|
865
|
+
*/
|
|
866
|
+
declare function EscalationCard({ escalation: e, agentName, meetingTitle, reply, onReplied, style, }: EscalationCardProps): react_jsx_runtime.JSX.Element;
|
|
867
|
+
interface EscalationListProps {
|
|
868
|
+
/** Only this call's. */
|
|
869
|
+
callId?: string | null;
|
|
870
|
+
/** Shown when nothing waits. Defaults to nothing. */
|
|
871
|
+
empty?: string | null;
|
|
872
|
+
style?: StyleProp<ViewStyle>;
|
|
873
|
+
}
|
|
874
|
+
/** Everything your agents wait for you to answer, live. */
|
|
875
|
+
declare function EscalationList({ callId, empty, style }: EscalationListProps): react_jsx_runtime.JSX.Element | null;
|
|
876
|
+
|
|
877
|
+
interface ApprovalCardProps {
|
|
878
|
+
/** The request — from `useApprovals()` or `useApproval(id)`. */
|
|
879
|
+
approval: AgentApproval;
|
|
880
|
+
/** The agent's name when the request leaves it out (e.g. the message's sender). */
|
|
881
|
+
agentName?: string | null;
|
|
882
|
+
/** After an answer went through. */
|
|
883
|
+
onDecided?: (approval: AgentApproval) => void;
|
|
884
|
+
/** How many detail lines show before "Show all". Defaults to 4. */
|
|
885
|
+
maxDetails?: number;
|
|
886
|
+
style?: StyleProp<ViewStyle>;
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* An agent asking before it calls a tool with an effect outside the chat. One tap
|
|
890
|
+
* approves or denies; a reason is optional. Follows the shared
|
|
891
|
+
* approvals store, so an answer given anywhere shows here at once.
|
|
892
|
+
*/
|
|
893
|
+
declare function ApprovalCard({ approval: initial, agentName, onDecided, maxDetails, style, }: ApprovalCardProps): react_jsx_runtime.JSX.Element;
|
|
894
|
+
interface MessageApprovalProps {
|
|
895
|
+
/** `approvalIdOf(message)`. */
|
|
896
|
+
approvalId: string;
|
|
897
|
+
/** The asking agent's name (the message's sender) when the directory doesn't know it. */
|
|
898
|
+
agentName?: string | null;
|
|
899
|
+
style?: StyleProp<ViewStyle>;
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* The approval an agent's message waits for (`agent_meta.approval_id`),
|
|
903
|
+
* loaded and kept live. Nothing shows for someone else's approval.
|
|
904
|
+
*/
|
|
905
|
+
declare function MessageApproval({ approvalId, agentName, style }: MessageApprovalProps): react_jsx_runtime.JSX.Element | null;
|
|
906
|
+
interface ApprovalListProps {
|
|
907
|
+
emptyState?: ReactNode;
|
|
908
|
+
/** Re-list every so often as a fallback to live events (ms; 0 = never). Defaults to 60 s. */
|
|
909
|
+
pollMs?: number;
|
|
910
|
+
style?: StyleProp<ViewStyle>;
|
|
911
|
+
}
|
|
912
|
+
/** Everything waiting for your approval, newest first, live. */
|
|
913
|
+
declare function ApprovalList({ emptyState, pollMs, style }: ApprovalListProps): react_jsx_runtime.JSX.Element;
|
|
914
|
+
interface MessageCitationsProps {
|
|
915
|
+
message: Message;
|
|
916
|
+
/** Defaults to `citationsOf(message)`. */
|
|
917
|
+
citations?: Citation[];
|
|
918
|
+
/** Defaults to the `MessageExtrasProvider`'s `onOpenCitation`. */
|
|
919
|
+
onOpenCitation?: (citation: Citation, message: Message) => void;
|
|
920
|
+
/** `onBrand` inside your own (coloured) bubble. */
|
|
921
|
+
tone?: 'default' | 'onBrand';
|
|
922
|
+
style?: StyleProp<ViewStyle>;
|
|
923
|
+
}
|
|
924
|
+
/** The sources of an assistant's answer as links. Plain text when nothing handles a press. */
|
|
925
|
+
declare function MessageCitations({ message, citations, onOpenCitation, tone, style, }: MessageCitationsProps): react_jsx_runtime.JSX.Element | null;
|
|
926
|
+
|
|
927
|
+
interface SummaryCardProps {
|
|
928
|
+
summary: CallSummary;
|
|
929
|
+
/** A timed line or moment was pressed. Defaults to the provider's; without one, times are plain text. */
|
|
930
|
+
onOpenMoment?: (moment: MeetingMoment) => void;
|
|
931
|
+
/** A poolse user id → name, for assignees. Defaults to the provider's, then the conversation's members. */
|
|
932
|
+
nameForUserId?: (userId: string) => string | null | undefined;
|
|
933
|
+
/** Fetch the full copy when shortened and follow `summary:ready`. Defaults to true. */
|
|
934
|
+
live?: boolean;
|
|
935
|
+
style?: StyleProp<ViewStyle>;
|
|
936
|
+
}
|
|
937
|
+
/** A call's summary: overview, decisions, action items, open questions, sections and moments. */
|
|
938
|
+
declare function SummaryCard({ summary: initial, onOpenMoment, nameForUserId, live, style, }: SummaryCardProps): react_jsx_runtime.JSX.Element;
|
|
939
|
+
interface SummaryMessageRowProps {
|
|
940
|
+
msg: Message;
|
|
941
|
+
meId: string | null;
|
|
942
|
+
nameForUserId?: (userId: string) => string | null | undefined;
|
|
943
|
+
}
|
|
944
|
+
/** A `kind: "call_summary"` message in a list: who posted it, then the card. */
|
|
945
|
+
declare function SummaryMessageRow({ msg, nameForUserId }: SummaryMessageRowProps): react_jsx_runtime.JSX.Element | null;
|
|
946
|
+
interface AskMeetingsProps {
|
|
947
|
+
callId?: string | null;
|
|
948
|
+
conversationId?: string | null;
|
|
949
|
+
onOpenMoment?: (moment: MeetingMoment) => void;
|
|
950
|
+
placeholder?: string;
|
|
951
|
+
style?: StyleProp<ViewStyle>;
|
|
952
|
+
}
|
|
953
|
+
/** A question box over your meetings, answered with links to the moments. */
|
|
954
|
+
declare function AskMeetings({ callId, conversationId, onOpenMoment, placeholder, style, }: AskMeetingsProps): react_jsx_runtime.JSX.Element;
|
|
955
|
+
interface ClipPlayerProps {
|
|
956
|
+
/** A clip shared in chat (an attachment) — plays its own file. */
|
|
957
|
+
attachment?: Attachment | null;
|
|
958
|
+
/** A clip by id — shows "Cutting…" until `clip:ready`. */
|
|
959
|
+
clipId?: string | null;
|
|
960
|
+
/** Or a range of a recording: plays from `startMs` and stops at `endMs`. */
|
|
961
|
+
clip?: {
|
|
962
|
+
recordingId: string;
|
|
963
|
+
startMs: number;
|
|
964
|
+
endMs: number;
|
|
965
|
+
} | null;
|
|
966
|
+
onOpenRecording?: (recordingId: string, startMs: number) => void;
|
|
967
|
+
/** The media adapter. Defaults to the provider's `renderMedia`. */
|
|
968
|
+
renderMedia?: RenderMedia;
|
|
969
|
+
compact?: boolean;
|
|
970
|
+
style?: StyleProp<ViewStyle>;
|
|
971
|
+
}
|
|
972
|
+
/** A short piece of a call's recording. */
|
|
973
|
+
declare function ClipPlayer({ attachment, clipId, clip: rangeClip, onOpenRecording, renderMedia, compact, style, }: ClipPlayerProps): react_jsx_runtime.JSX.Element;
|
|
974
|
+
interface RecordingPlayerProps {
|
|
975
|
+
recordingId: string;
|
|
976
|
+
showTranscript?: boolean;
|
|
977
|
+
/** Start here (recording ms — a moment's `recordingMs`); a new value seeks. */
|
|
978
|
+
startMs?: number | null;
|
|
979
|
+
defaultSkipSilence?: boolean;
|
|
980
|
+
/** The media adapter. Defaults to the provider's `renderMedia`. */
|
|
981
|
+
renderMedia?: RenderMedia;
|
|
982
|
+
style?: StyleProp<ViewStyle>;
|
|
983
|
+
}
|
|
984
|
+
interface RecordingPlayerHandle {
|
|
985
|
+
/** Seek to recording time `ms` and play. */
|
|
986
|
+
seek: (ms: number) => void;
|
|
987
|
+
/** Seek to transcript time `ms` (a summary item's `startMs`) and play. */
|
|
988
|
+
seekTranscript: (ms: number) => void;
|
|
989
|
+
play: () => void;
|
|
990
|
+
pause: () => void;
|
|
991
|
+
}
|
|
992
|
+
/**
|
|
993
|
+
* A finished recording (`GET /v1/recordings/:id/playback`): 1×–2× speed,
|
|
994
|
+
* skip silence, chapters, and the transcript scrolling along — tap a line
|
|
995
|
+
* to play from there.
|
|
996
|
+
*/
|
|
997
|
+
declare const RecordingPlayer: react.ForwardRefExoticComponent<RecordingPlayerProps & react.RefAttributes<RecordingPlayerHandle>>;
|
|
998
|
+
|
|
999
|
+
/** Someone in the call, as the panels name them. */
|
|
1000
|
+
interface MeetingParticipant {
|
|
1001
|
+
userId: string;
|
|
1002
|
+
name?: string | null;
|
|
1003
|
+
/** Joined from a guest link: shown with a Guest mark. */
|
|
1004
|
+
guest?: boolean;
|
|
1005
|
+
avatarUrl?: string | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* An agent in the call (AG13): named by its `label` and shown with the
|
|
1008
|
+
* Agent badge and what it's doing. `useCallAgents().agentFor(userId)`,
|
|
1009
|
+
* or pass the call's `agents` to the panel.
|
|
1010
|
+
*/
|
|
1011
|
+
agent?: CallAgent | null;
|
|
1012
|
+
/** Speaking now (the roster's flag) — an agent shows "Speaking". */
|
|
1013
|
+
speaking?: boolean;
|
|
1014
|
+
}
|
|
1015
|
+
type NameFor = (userId: string) => string | null | undefined;
|
|
1016
|
+
interface StagePanelProps {
|
|
1017
|
+
stage: UseStage;
|
|
1018
|
+
/** Everyone in the call (from the call roster). */
|
|
1019
|
+
participants: readonly MeetingParticipant[];
|
|
1020
|
+
selfUserId?: string | null;
|
|
1021
|
+
nameForUserId?: NameFor;
|
|
1022
|
+
/** The call's agents (`useCallAgents().agents`), listed with the Agent badge. */
|
|
1023
|
+
agents?: readonly CallAgent[];
|
|
1024
|
+
style?: StyleProp<ViewStyle>;
|
|
1025
|
+
}
|
|
1026
|
+
/**
|
|
1027
|
+
* Speakers and audience, your raise-hand button, and — for moderators —
|
|
1028
|
+
* raised hands with Bring up / Lower, and Move to audience on speakers.
|
|
1029
|
+
*/
|
|
1030
|
+
declare function StagePanel({ stage, participants, selfUserId, nameForUserId, agents, style, }: StagePanelProps): react_jsx_runtime.JSX.Element;
|
|
1031
|
+
interface QuestionsPanelProps {
|
|
1032
|
+
questions: UseQuestions;
|
|
1033
|
+
/** Show Answered / Dismiss on open questions. */
|
|
1034
|
+
canModerate?: boolean;
|
|
1035
|
+
/** Offer "Ask anonymously". Defaults to true. */
|
|
1036
|
+
allowAnonymous?: boolean;
|
|
1037
|
+
nameForUserId?: NameFor;
|
|
1038
|
+
style?: StyleProp<ViewStyle>;
|
|
1039
|
+
}
|
|
1040
|
+
/** Ask a question, upvote others', and (moderators) mark them answered. */
|
|
1041
|
+
declare function QuestionsPanel({ questions, canModerate, allowAnonymous, nameForUserId, style, }: QuestionsPanelProps): react_jsx_runtime.JSX.Element;
|
|
1042
|
+
interface BreakoutBannerProps {
|
|
1043
|
+
breakouts: UseBreakouts;
|
|
1044
|
+
/** You are in your breakout room now (not the main call). */
|
|
1045
|
+
inBreakout?: boolean;
|
|
1046
|
+
/** Connect to the room's session (switch the call's media to it). */
|
|
1047
|
+
onJoined?: (session: RoomSession) => void;
|
|
1048
|
+
/** Connect back to the main call. */
|
|
1049
|
+
onReturned?: (session: RoomSession) => void;
|
|
1050
|
+
style?: StyleProp<ViewStyle>;
|
|
1051
|
+
}
|
|
1052
|
+
/**
|
|
1053
|
+
* "Breakout · Room 2 · 12:30 left · Join room", then "Return to main";
|
|
1054
|
+
* while closing, "Returning to the main call in 0:45". Nothing without a
|
|
1055
|
+
* session or a room for you.
|
|
1056
|
+
*/
|
|
1057
|
+
declare function BreakoutBanner({ breakouts, inBreakout, onJoined, onReturned, style, }: BreakoutBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
1058
|
+
interface LobbyWaitingProps {
|
|
1059
|
+
/** The name the guest gave. */
|
|
1060
|
+
name: string;
|
|
1061
|
+
/** Where the guest stands (`waitInLobby`'s status). */
|
|
1062
|
+
status: GuestLobbyStatus['status'];
|
|
1063
|
+
/** The meeting's title, when known. */
|
|
1064
|
+
title?: string | null;
|
|
1065
|
+
onLeave: () => void;
|
|
1066
|
+
style?: StyleProp<ViewStyle>;
|
|
1067
|
+
}
|
|
1068
|
+
/** A guest's waiting screen: "Waiting for the host to let you in", then denied or ended. */
|
|
1069
|
+
declare function LobbyWaiting({ name, status, title, onLeave, style }: LobbyWaitingProps): react_jsx_runtime.JSX.Element;
|
|
1070
|
+
interface LobbyAdmitListProps {
|
|
1071
|
+
lobby: UseLobby;
|
|
1072
|
+
style?: StyleProp<ViewStyle>;
|
|
1073
|
+
}
|
|
1074
|
+
/** For members: who is waiting, with Admit / Deny and Admit all. Nothing when nobody waits. */
|
|
1075
|
+
declare function LobbyAdmitList({ lobby, style }: LobbyAdmitListProps): react_jsx_runtime.JSX.Element | null;
|
|
1076
|
+
interface MarkMomentButtonProps {
|
|
1077
|
+
moments: UseMoments;
|
|
1078
|
+
/** Icon only (a call control); the label is still read out. */
|
|
1079
|
+
compact?: boolean;
|
|
1080
|
+
style?: StyleProp<ViewStyle>;
|
|
1081
|
+
}
|
|
1082
|
+
/** "Mark moment": highlights this point in the recording and the summary; says "Marked" for 2 s. */
|
|
1083
|
+
declare function MarkMomentButton({ moments, compact, style }: MarkMomentButtonProps): react_jsx_runtime.JSX.Element;
|
|
1084
|
+
interface AgendaPanelProps {
|
|
1085
|
+
agenda: UseAgenda;
|
|
1086
|
+
/** Show Start / Done / Reopen. */
|
|
1087
|
+
canEdit?: boolean;
|
|
1088
|
+
nameForUserId?: NameFor;
|
|
1089
|
+
style?: StyleProp<ViewStyle>;
|
|
1090
|
+
}
|
|
1091
|
+
/** The meeting's agenda: owner and minutes per item, the current one highlighted, an over-time nudge. */
|
|
1092
|
+
declare function AgendaPanel({ agenda, canEdit, nameForUserId, style }: AgendaPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
1093
|
+
interface RoomPresenceProps {
|
|
1094
|
+
/**
|
|
1095
|
+
* Who's in (`useRoomPresence().presence[id]`), or a live call
|
|
1096
|
+
* (`useLiveCall(id).call`); nothing renders when empty.
|
|
1097
|
+
*/
|
|
1098
|
+
call: RoomPresenceEntry | LiveCall | null | undefined;
|
|
1099
|
+
/** Most avatars to show; the rest become "+N". Defaults to 3. */
|
|
1100
|
+
max?: number;
|
|
1101
|
+
nameForUserId?: NameFor;
|
|
1102
|
+
style?: StyleProp<ViewStyle>;
|
|
1103
|
+
}
|
|
1104
|
+
/** Who is in a room, for a sidebar row: overlapping avatars and "+N". */
|
|
1105
|
+
declare function RoomPresence({ call, max, nameForUserId, style }: RoomPresenceProps): react_jsx_runtime.JSX.Element | null;
|
|
1106
|
+
interface MeetingCardProps {
|
|
1107
|
+
card: MeetingCard$1;
|
|
1108
|
+
/** Your user id, to find your answer in the lists. */
|
|
1109
|
+
meId?: string | null;
|
|
1110
|
+
/**
|
|
1111
|
+
* Record your answer yourself. Default: `PUT /meetings/:id/rsvp`
|
|
1112
|
+
* through the provider's client; `false` hides the buttons. The card
|
|
1113
|
+
* updates when the server restates the message.
|
|
1114
|
+
*/
|
|
1115
|
+
onRsvp?: ((response: RsvpResponse) => void | Promise<void>) | false;
|
|
1116
|
+
/** Join the meeting's room. */
|
|
1117
|
+
onJoin?: (card: MeetingCard$1) => void;
|
|
1118
|
+
nameForUserId?: NameFor;
|
|
1119
|
+
style?: StyleProp<ViewStyle>;
|
|
1120
|
+
}
|
|
1121
|
+
/** An invite in chat: title, time, who's coming, Accept / Maybe / Decline and Join. */
|
|
1122
|
+
declare function MeetingCard({ card, meId, onRsvp, onJoin, nameForUserId, style, }: MeetingCardProps): react_jsx_runtime.JSX.Element;
|
|
1123
|
+
interface MeetingCardMessageRowProps extends Omit<MeetingCardProps, 'card'> {
|
|
1124
|
+
msg: Message;
|
|
1125
|
+
}
|
|
1126
|
+
/** A meeting-card message in a list; nothing for any other message. */
|
|
1127
|
+
declare function MeetingCardMessageRow({ msg, ...rest }: MeetingCardMessageRowProps): react_jsx_runtime.JSX.Element | null;
|
|
1128
|
+
|
|
1129
|
+
interface CaptionsOverlayProps {
|
|
1130
|
+
/** `useLiveTranscript(callId).segments`. */
|
|
1131
|
+
segments: readonly LiveTranscriptSegment[];
|
|
1132
|
+
/** How many lines to show. Defaults to 2. */
|
|
1133
|
+
lines?: number;
|
|
1134
|
+
style?: StyleProp<ViewStyle>;
|
|
1135
|
+
}
|
|
1136
|
+
/** The last lines of the live transcript, with speaker names; words still being spoken are dimmed. */
|
|
1137
|
+
declare function CaptionsOverlay({ segments, lines, style }: CaptionsOverlayProps): react_jsx_runtime.JSX.Element | null;
|
|
1138
|
+
interface ReactionsOverlayProps {
|
|
1139
|
+
/** `useCallReactions(room).reactions`. */
|
|
1140
|
+
reactions: readonly CallReaction[];
|
|
1141
|
+
style?: StyleProp<ViewStyle>;
|
|
1142
|
+
}
|
|
1143
|
+
/** Reactions rising over the call (still, with Reduce Motion). Never takes touches. */
|
|
1144
|
+
declare function ReactionsOverlay({ reactions, style }: ReactionsOverlayProps): react_jsx_runtime.JSX.Element;
|
|
1145
|
+
interface ReactionPickerBarProps {
|
|
1146
|
+
onReact: (emoji: string) => void;
|
|
1147
|
+
emojis?: readonly string[];
|
|
1148
|
+
style?: StyleProp<ViewStyle>;
|
|
1149
|
+
}
|
|
1150
|
+
/** A row of reaction buttons (`DEFAULT_CALL_REACTIONS`). */
|
|
1151
|
+
declare function ReactionPickerBar({ onReact, emojis, style, }: ReactionPickerBarProps): react_jsx_runtime.JSX.Element;
|
|
1152
|
+
interface ConnectionIndicatorProps {
|
|
1153
|
+
/** A web `CallConnectionQuality` or the native core's `'good' | 'poor' | 'lost' | 'unknown'`. */
|
|
1154
|
+
quality: CallConnectionQuality | 'good' | 'poor' | 'lost' | 'unknown' | null | undefined;
|
|
1155
|
+
/** Bar height in px. Defaults to 12. */
|
|
1156
|
+
size?: number;
|
|
1157
|
+
style?: StyleProp<ViewStyle>;
|
|
1158
|
+
}
|
|
1159
|
+
/** Three signal bars; a weak link turns amber, a lost one red. Labelled for screen readers. */
|
|
1160
|
+
declare function ConnectionIndicator({ quality, size, style }: ConnectionIndicatorProps): react_jsx_runtime.JSX.Element | null;
|
|
1161
|
+
interface NetworkBannerProps {
|
|
1162
|
+
/** `useCallQuality(room)?.issues`, or `diagnoseCallNetwork(…)` from a native snapshot. */
|
|
1163
|
+
issues: readonly CallNetworkIssue[];
|
|
1164
|
+
onDismiss?: () => void;
|
|
1165
|
+
style?: StyleProp<ViewStyle>;
|
|
1166
|
+
}
|
|
1167
|
+
/** The worst network problem in plain words ("Your network is dropping packets…"). */
|
|
1168
|
+
declare function NetworkBanner({ issues, onDismiss, style }: NetworkBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
1169
|
+
interface WhiteboardViewProps {
|
|
1170
|
+
/** `useWhiteboard(callId, Y).items`. */
|
|
1171
|
+
items: readonly WhiteboardItem[];
|
|
1172
|
+
/** With a model and not `readOnly`, a finger draws pen strokes. */
|
|
1173
|
+
model?: WhiteboardModel | null;
|
|
1174
|
+
readOnly?: boolean;
|
|
1175
|
+
/** Pen colour and width (board units). */
|
|
1176
|
+
color?: string;
|
|
1177
|
+
width?: number;
|
|
1178
|
+
style?: StyleProp<ViewStyle>;
|
|
1179
|
+
}
|
|
1180
|
+
/**
|
|
1181
|
+
* The call's whiteboard, fit to the view (1600 × 900 board units). View
|
|
1182
|
+
* only by default; pass the model to draw simple pen strokes.
|
|
1183
|
+
*/
|
|
1184
|
+
declare function WhiteboardView({ items, model, readOnly, color, width, style, }: WhiteboardViewProps): react_jsx_runtime.JSX.Element;
|
|
1185
|
+
interface AnnotationOverlayProps {
|
|
1186
|
+
/** `useScreenAnnotations(room, sharerUserId).state`. */
|
|
1187
|
+
state: AnnotationState | null;
|
|
1188
|
+
style?: StyleProp<ViewStyle>;
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
* Lines and pointers others draw on a shared screen, laid over the
|
|
1192
|
+
* screen's video (same box, `fit="contain"` area). View only.
|
|
1193
|
+
*/
|
|
1194
|
+
declare function AnnotationOverlay({ state, style }: AnnotationOverlayProps): react_jsx_runtime.JSX.Element;
|
|
1195
|
+
|
|
1196
|
+
/** 45 → "0:45", 3725 → "1:02:05". */
|
|
1197
|
+
declare function formatCountdown(seconds: number | null | undefined): string;
|
|
1198
|
+
/** Show at most `max` avatars; the rest become "+N". */
|
|
1199
|
+
declare function avatarOverflow<T>(list: readonly T[], max: number): {
|
|
1200
|
+
shown: T[];
|
|
1201
|
+
more: number;
|
|
1202
|
+
};
|
|
1203
|
+
/** One caption line: a speaker's run of text, interim when still talking. */
|
|
1204
|
+
interface CaptionLine {
|
|
1205
|
+
key: string;
|
|
1206
|
+
speaker: string;
|
|
1207
|
+
text: string;
|
|
1208
|
+
interim: boolean;
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* The last `lines` caption lines: consecutive segments of one speaker are
|
|
1212
|
+
* joined, an interim segment after them shown as still being spoken.
|
|
1213
|
+
* Each line keeps only its last `maxChars` characters.
|
|
1214
|
+
*/
|
|
1215
|
+
declare function captionLines(segments: readonly LiveTranscriptSegment[], lines?: number, maxChars?: number): CaptionLine[];
|
|
1216
|
+
/** "Budget review is 3 min over" — null when not over by a whole minute. */
|
|
1217
|
+
declare function overrunText(title: string, overrunMs: number): string | null;
|
|
1218
|
+
/** "Tue 21 Nov · 10:00–10:30" in the device's locale. */
|
|
1219
|
+
declare function meetingTimeText(card: Pick<MeetingCard$1, 'startsAt' | 'endsAt'>): string | null;
|
|
1220
|
+
/** "4 accepted · 1 maybe · 2 declined" (empty parts left out), or null. */
|
|
1221
|
+
declare function rsvpSummary(card: Pick<MeetingCard$1, 'rsvps'> & Partial<Pick<MeetingCard$1, 'counts'>>): string | null;
|
|
1222
|
+
|
|
602
1223
|
interface MessageComposerProps {
|
|
603
1224
|
/**
|
|
604
1225
|
* Called when the user taps Send. Second arg carries
|
|
@@ -606,10 +1227,7 @@ interface MessageComposerProps {
|
|
|
606
1227
|
* (resolved from the composer's upload queue). Awaited so the
|
|
607
1228
|
* composer disables until the send round-trips.
|
|
608
1229
|
*/
|
|
609
|
-
onSend: (body: string, opts?:
|
|
610
|
-
quoted_message_id?: Uuid;
|
|
611
|
-
attachment_ids?: Uuid[];
|
|
612
|
-
}) => Promise<unknown> | void;
|
|
1230
|
+
onSend: (body: string, opts?: ComposerSendOptions) => Promise<unknown> | void;
|
|
613
1231
|
/** Called on every keystroke. Hook to `useTyping().signalTyping`. */
|
|
614
1232
|
onTyping?: () => void;
|
|
615
1233
|
placeholder?: string;
|
|
@@ -660,6 +1278,21 @@ interface MessageComposerProps {
|
|
|
660
1278
|
emojiPicker?: boolean;
|
|
661
1279
|
/** Rendered above the input row — e.g. `<MentionInput>`'s suggestions. */
|
|
662
1280
|
accessory?: ReactNode;
|
|
1281
|
+
/**
|
|
1282
|
+
* Show the Markdown formatting toolbar (bold, italic, strike, code,
|
|
1283
|
+
* link, quote, lists, checklist, code block, table) above the input.
|
|
1284
|
+
* Default `false`. Pass an array to choose the buttons and their order.
|
|
1285
|
+
*/
|
|
1286
|
+
formattingToolbar?: boolean | readonly FormatKind[];
|
|
1287
|
+
/** Slash commands to suggest when the message starts with `/` (IN3). */
|
|
1288
|
+
commands?: readonly SlashCommand[];
|
|
1289
|
+
}
|
|
1290
|
+
/** The second argument of `onSend`. */
|
|
1291
|
+
interface ComposerSendOptions {
|
|
1292
|
+
quoted_message_id?: Uuid;
|
|
1293
|
+
attachment_ids?: Uuid[];
|
|
1294
|
+
/** Set when the sender chose "Send anyway" on a data-loss-prevention warning (AD6). */
|
|
1295
|
+
dlp_acknowledged?: true;
|
|
663
1296
|
}
|
|
664
1297
|
/**
|
|
665
1298
|
* Imperative handle for parents that want to add files to the
|
|
@@ -676,6 +1309,31 @@ interface MessageComposerHandle {
|
|
|
676
1309
|
}
|
|
677
1310
|
declare const MessageComposer: react.ForwardRefExoticComponent<MessageComposerProps & react.RefAttributes<MessageComposerHandle>>;
|
|
678
1311
|
|
|
1312
|
+
interface FormattingToolbarProps {
|
|
1313
|
+
onFormat: (kind: FormatKind) => void;
|
|
1314
|
+
disabled?: boolean;
|
|
1315
|
+
/** Which buttons, in order. Defaults to all of `FORMAT_ACTIONS`. */
|
|
1316
|
+
actions?: readonly FormatKind[];
|
|
1317
|
+
}
|
|
1318
|
+
/** A horizontally scrolling row of formatting buttons. */
|
|
1319
|
+
declare function FormattingToolbar({ onFormat, disabled, actions, }: FormattingToolbarProps): react_jsx_runtime.JSX.Element;
|
|
1320
|
+
/** `/command` suggestions for the text and cursor, or `null` when none match. */
|
|
1321
|
+
declare function CommandSuggestions({ commands, text, cursor, onPick, }: {
|
|
1322
|
+
commands: readonly SlashCommand[];
|
|
1323
|
+
text: string;
|
|
1324
|
+
cursor: number;
|
|
1325
|
+
onPick: (command: SlashCommand) => void;
|
|
1326
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
1327
|
+
interface DlpWarningSheetProps {
|
|
1328
|
+
outcome: DlpOutcome;
|
|
1329
|
+
/** "Send anyway" (only offered for a warning, never for a block). */
|
|
1330
|
+
onSendAnyway?: () => void;
|
|
1331
|
+
/** "Edit message": back to the composer with the text kept. */
|
|
1332
|
+
onEdit: () => void;
|
|
1333
|
+
}
|
|
1334
|
+
/** The data-loss-prevention warning as a centred modal. */
|
|
1335
|
+
declare function DlpWarningSheet({ outcome, onSendAnyway, onEdit }: DlpWarningSheetProps): react_jsx_runtime.JSX.Element;
|
|
1336
|
+
|
|
679
1337
|
interface MessageActionsProps {
|
|
680
1338
|
visible: boolean;
|
|
681
1339
|
onClose: () => void;
|
|
@@ -707,6 +1365,14 @@ interface MessageActionsProps {
|
|
|
707
1365
|
* Called after the sheet closes.
|
|
708
1366
|
*/
|
|
709
1367
|
onMoreReactions?: () => void;
|
|
1368
|
+
/** Pin or unpin (MS13); `pinned` picks the label. */
|
|
1369
|
+
onTogglePin?: () => void;
|
|
1370
|
+
pinned?: boolean;
|
|
1371
|
+
/** Forward to other conversations (MS13): open your target picker (`<ForwardSheet>`). */
|
|
1372
|
+
onForward?: () => void;
|
|
1373
|
+
/** Translate (MS21), or back to the original when `translated`. */
|
|
1374
|
+
onTranslate?: () => void;
|
|
1375
|
+
translated?: boolean;
|
|
710
1376
|
}
|
|
711
1377
|
/**
|
|
712
1378
|
* Long-press action menu — modal bottom sheet. Renders a row of
|
|
@@ -714,7 +1380,7 @@ interface MessageActionsProps {
|
|
|
714
1380
|
* action items below. Matches WhatsApp / iMessage's "long-press
|
|
715
1381
|
* shows everything inline" pattern.
|
|
716
1382
|
*/
|
|
717
|
-
declare function MessageActions({ visible, onClose, isSelf, emojis, onPickReaction, onReply, onReplyInThread, onQuote, onEdit, onDelete, onCopy, onMarkUnread, onRemovePreview, previewUrls, onMoreReactions, }: MessageActionsProps): react_jsx_runtime.JSX.Element;
|
|
1383
|
+
declare function MessageActions({ visible, onClose, isSelf, emojis, onPickReaction, onReply, onReplyInThread, onQuote, onEdit, onDelete, onCopy, onMarkUnread, onRemovePreview, previewUrls, onMoreReactions, onTogglePin, pinned, onForward, onTranslate, translated, }: MessageActionsProps): react_jsx_runtime.JSX.Element;
|
|
718
1384
|
|
|
719
1385
|
/**
|
|
720
1386
|
* Either a real message or a day-separator row. ConversationView
|
|
@@ -826,6 +1492,10 @@ interface ThreadViewProps {
|
|
|
826
1492
|
showPresence?: boolean;
|
|
827
1493
|
/** Link previews under replies. Defaults to `true`. */
|
|
828
1494
|
linkPreviews?: boolean;
|
|
1495
|
+
/** A Follow / Following button in the header (MS19). Default `true`. */
|
|
1496
|
+
follow?: boolean;
|
|
1497
|
+
/** An "Also send to channel" switch above the composer (MS19). Default `true`; off in DMs. */
|
|
1498
|
+
alsoSendToChannel?: boolean;
|
|
829
1499
|
}
|
|
830
1500
|
/**
|
|
831
1501
|
* Bottom-sheet modal for thread replies. Pull the drag handle / header
|
|
@@ -842,7 +1512,7 @@ interface ThreadViewProps {
|
|
|
842
1512
|
* sheet top (the gutter), since KAV measures its frame relative to
|
|
843
1513
|
* its parent (the sheet), not the screen.
|
|
844
1514
|
*/
|
|
845
|
-
declare function ThreadView({ visible, onClose, conversationId, rootMessage, labelFor, avatarFor, layout, timeFormat, density, showPresence, linkPreviews, }: ThreadViewProps): react_jsx_runtime.JSX.Element;
|
|
1515
|
+
declare function ThreadView({ visible, onClose, conversationId, rootMessage, labelFor, avatarFor, layout, timeFormat, density, showPresence, linkPreviews, follow, alsoSendToChannel, }: ThreadViewProps): react_jsx_runtime.JSX.Element;
|
|
846
1516
|
|
|
847
1517
|
interface ThreadSummaryProps {
|
|
848
1518
|
/** The thread's root: `reply_count`, `last_reply_at`, `thread_participants`. */
|
|
@@ -895,12 +1565,14 @@ interface UserNameProps {
|
|
|
895
1565
|
fallback?: string;
|
|
896
1566
|
/** Caller-supplied label override; if it returns a string, it wins. */
|
|
897
1567
|
labelFor?: (externalId: string) => string;
|
|
1568
|
+
/** The Agent badge after an agent's name (AG1). Defaults to `true`. */
|
|
1569
|
+
agentBadge?: boolean;
|
|
898
1570
|
}
|
|
899
1571
|
/**
|
|
900
1572
|
* Display name for a user, looked up via the SDK's `userResolver`
|
|
901
1573
|
* with caller-overridable + fallback fallbacks. Renders a `<Text>`.
|
|
902
1574
|
*/
|
|
903
|
-
declare function UserName({ externalId, fallback, labelFor }: UserNameProps): react_jsx_runtime.JSX.Element;
|
|
1575
|
+
declare function UserName({ externalId, fallback, labelFor, agentBadge }: UserNameProps): react_jsx_runtime.JSX.Element;
|
|
904
1576
|
/**
|
|
905
1577
|
* Resolves a user's display name via the 3-tier chain:
|
|
906
1578
|
* 1. `labelFor(externalId)` — caller-supplied override
|
|
@@ -1091,13 +1763,17 @@ declare function ReactionPicker({ visible, onClose, onPick, emojis, }: ReactionP
|
|
|
1091
1763
|
interface MentionInputProps extends Omit<MessageComposerProps, 'onSend'> {
|
|
1092
1764
|
conversationId: Uuid;
|
|
1093
1765
|
/** Same callback as MessageComposer.onSend, plus the mentioned user_ids. */
|
|
1094
|
-
onSend: (body: string, opts?: {
|
|
1095
|
-
quoted_message_id?: Uuid;
|
|
1096
|
-
attachment_ids?: Uuid[];
|
|
1766
|
+
onSend: (body: string, opts?: ComposerSendOptions & {
|
|
1097
1767
|
mentions?: Uuid[];
|
|
1098
1768
|
}) => Promise<unknown> | void;
|
|
1099
1769
|
/** Most suggestions shown at once. Defaults to 6. */
|
|
1100
1770
|
maxSuggestions?: number;
|
|
1771
|
+
/**
|
|
1772
|
+
* User groups to offer after matching members (MS9): `@design`,
|
|
1773
|
+
* `@oncall`. Picking one inserts `@handle`; the Workspace expands it
|
|
1774
|
+
* when the message arrives, so nothing extra is sent.
|
|
1775
|
+
*/
|
|
1776
|
+
groups?: readonly MentionGroup[];
|
|
1101
1777
|
}
|
|
1102
1778
|
/**
|
|
1103
1779
|
* Composer with @-mentions: typing `@` (at the start or after a space)
|
|
@@ -1106,7 +1782,7 @@ interface MentionInputProps extends Omit<MessageComposerProps, 'onSend'> {
|
|
|
1106
1782
|
* carries their user id in `mentions` — for as long as `@Name` is
|
|
1107
1783
|
* still in the text.
|
|
1108
1784
|
*/
|
|
1109
|
-
declare function MentionInput({ conversationId, onSend, maxSuggestions, labelFor, value: valueProp, onChangeText, onSelectionChange, ...composerProps }: MentionInputProps): react_jsx_runtime.JSX.Element;
|
|
1785
|
+
declare function MentionInput({ conversationId, onSend, maxSuggestions, labelFor, value: valueProp, onChangeText, onSelectionChange, groups, ...composerProps }: MentionInputProps): react_jsx_runtime.JSX.Element;
|
|
1110
1786
|
|
|
1111
1787
|
interface AttachmentPickerProps {
|
|
1112
1788
|
visible: boolean;
|
|
@@ -1505,8 +2181,13 @@ interface AvatarProps {
|
|
|
1505
2181
|
userId?: string | null;
|
|
1506
2182
|
/** Size variant. `md` → 40px, `sm` → 28px, `xs` → 20px, `lg` → 56px. */
|
|
1507
2183
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
2184
|
+
/**
|
|
2185
|
+
* An agent, not a person (AG1): a rounded-square avatar with a small
|
|
2186
|
+
* agent mark, and "(agent)" in its label. Pass `useUser(id).agent`.
|
|
2187
|
+
*/
|
|
2188
|
+
agent?: boolean;
|
|
1508
2189
|
}
|
|
1509
|
-
declare function Avatar({ src, name, seed, online, presence, doNotDisturb, userId, size, }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
2190
|
+
declare function Avatar({ src, name, seed, online, presence, doNotDisturb, userId, size, agent, }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
1510
2191
|
|
|
1511
2192
|
declare const primitives: {
|
|
1512
2193
|
PoolseIcon: typeof PoolseIcon;
|
|
@@ -1888,4 +2569,168 @@ declare const callColors: {
|
|
|
1888
2569
|
*/
|
|
1889
2570
|
declare function useCallDuration(connected: boolean): string | null;
|
|
1890
2571
|
|
|
1891
|
-
|
|
2572
|
+
interface PollCardProps {
|
|
2573
|
+
question: string;
|
|
2574
|
+
poll: Poll;
|
|
2575
|
+
myOptionIds: readonly string[];
|
|
2576
|
+
onToggle?: (optionId: string) => void;
|
|
2577
|
+
onClose?: () => void;
|
|
2578
|
+
pending?: boolean;
|
|
2579
|
+
showResults?: boolean;
|
|
2580
|
+
}
|
|
2581
|
+
declare function PollCard({ question, poll, myOptionIds, onToggle, onClose, pending, showResults, }: PollCardProps): react_jsx_runtime.JSX.Element;
|
|
2582
|
+
interface BlockRendererProps {
|
|
2583
|
+
blocks: readonly Block[];
|
|
2584
|
+
onAction?: (req: BlockActionRequest) => Promise<unknown> | void;
|
|
2585
|
+
disabled?: boolean;
|
|
2586
|
+
}
|
|
2587
|
+
declare function BlockRenderer({ blocks, onAction, disabled }: BlockRendererProps): react_jsx_runtime.JSX.Element;
|
|
2588
|
+
interface PinsListProps {
|
|
2589
|
+
pins: readonly Message[];
|
|
2590
|
+
labelFor?: (externalId: string) => string;
|
|
2591
|
+
onOpen?: (message: Message) => void;
|
|
2592
|
+
onUnpin?: (message: Message) => void;
|
|
2593
|
+
loading?: boolean;
|
|
2594
|
+
}
|
|
2595
|
+
declare function PinsList({ pins, labelFor, onOpen, onUnpin, loading }: PinsListProps): react_jsx_runtime.JSX.Element;
|
|
2596
|
+
interface ForwardTarget {
|
|
2597
|
+
id: Uuid;
|
|
2598
|
+
name: string;
|
|
2599
|
+
}
|
|
2600
|
+
interface ForwardSheetProps {
|
|
2601
|
+
visible: boolean;
|
|
2602
|
+
targets: readonly ForwardTarget[];
|
|
2603
|
+
onForward: (conversationIds: Uuid[], comment: string) => Promise<unknown> | void;
|
|
2604
|
+
onClose: () => void;
|
|
2605
|
+
max?: number;
|
|
2606
|
+
}
|
|
2607
|
+
declare function ForwardSheet({ visible, targets, onForward, onClose, max, }: ForwardSheetProps): react_jsx_runtime.JSX.Element;
|
|
2608
|
+
interface FilesListProps {
|
|
2609
|
+
files: readonly Attachment[];
|
|
2610
|
+
onOpen?: (file: Attachment) => void;
|
|
2611
|
+
thumbnailFor?: (file: Attachment) => string | null | undefined;
|
|
2612
|
+
onVersions?: (file: Attachment) => void;
|
|
2613
|
+
hasMore?: boolean;
|
|
2614
|
+
onLoadMore?: () => void;
|
|
2615
|
+
loading?: boolean;
|
|
2616
|
+
}
|
|
2617
|
+
declare function FilesList({ files, onOpen, thumbnailFor, onVersions, hasMore, onLoadMore, loading, }: FilesListProps): react_jsx_runtime.JSX.Element;
|
|
2618
|
+
interface ForumPost {
|
|
2619
|
+
messageId: Uuid;
|
|
2620
|
+
title: string;
|
|
2621
|
+
authorName: string;
|
|
2622
|
+
replyCount: number;
|
|
2623
|
+
lastActivityAt: string;
|
|
2624
|
+
tags?: readonly {
|
|
2625
|
+
name: string;
|
|
2626
|
+
color?: string | null;
|
|
2627
|
+
}[];
|
|
2628
|
+
}
|
|
2629
|
+
interface ForumPostListProps {
|
|
2630
|
+
posts: readonly ForumPost[];
|
|
2631
|
+
onOpen?: (post: ForumPost) => void;
|
|
2632
|
+
hasMore?: boolean;
|
|
2633
|
+
onLoadMore?: () => void;
|
|
2634
|
+
loading?: boolean;
|
|
2635
|
+
}
|
|
2636
|
+
declare function ForumPostList({ posts, onOpen, hasMore, onLoadMore, loading }: ForumPostListProps): react_jsx_runtime.JSX.Element;
|
|
2637
|
+
interface CatchUpCardProps {
|
|
2638
|
+
result: CatchUp | null;
|
|
2639
|
+
loading?: boolean;
|
|
2640
|
+
error?: unknown;
|
|
2641
|
+
onRun?: () => void;
|
|
2642
|
+
onOpenMessage?: (messageId: Uuid, sequence: number) => void;
|
|
2643
|
+
onDismiss?: () => void;
|
|
2644
|
+
}
|
|
2645
|
+
declare function CatchUpCard({ result, loading, error, onRun, onOpenMessage, onDismiss, }: CatchUpCardProps): react_jsx_runtime.JSX.Element;
|
|
2646
|
+
interface TranslatedTextProps {
|
|
2647
|
+
translation: string | null;
|
|
2648
|
+
languageName?: string;
|
|
2649
|
+
loading?: boolean;
|
|
2650
|
+
onToggle?: () => void;
|
|
2651
|
+
children: ReactNode;
|
|
2652
|
+
}
|
|
2653
|
+
declare function TranslatedText({ translation, languageName, loading, onToggle, children, }: TranslatedTextProps): react_jsx_runtime.JSX.Element;
|
|
2654
|
+
interface NoteCardProps {
|
|
2655
|
+
title: string | null;
|
|
2656
|
+
encrypted?: boolean;
|
|
2657
|
+
sharedByName?: string;
|
|
2658
|
+
updatedAt?: string;
|
|
2659
|
+
updated?: boolean;
|
|
2660
|
+
unavailable?: boolean;
|
|
2661
|
+
onOpen?: () => void;
|
|
2662
|
+
}
|
|
2663
|
+
declare function NoteCard({ title, encrypted, sharedByName, updatedAt, updated, unavailable, onOpen, }: NoteCardProps): react_jsx_runtime.JSX.Element;
|
|
2664
|
+
/**
|
|
2665
|
+
* What the players need from the app's media library (expo-audio's
|
|
2666
|
+
* `useAudioPlayer` + `useAudioPlayerStatus`, expo-video's player, …).
|
|
2667
|
+
*/
|
|
2668
|
+
interface MediaPlayback {
|
|
2669
|
+
playing: boolean;
|
|
2670
|
+
positionMs: number;
|
|
2671
|
+
durationMs: number;
|
|
2672
|
+
play: () => void;
|
|
2673
|
+
pause: () => void;
|
|
2674
|
+
seek: (ms: number) => void;
|
|
2675
|
+
/** Set the speed (1, 1.5, 2). */
|
|
2676
|
+
setRate: (rate: number) => void;
|
|
2677
|
+
}
|
|
2678
|
+
interface VoiceMessagePlayerProps {
|
|
2679
|
+
player: MediaPlayback;
|
|
2680
|
+
attachment?: Attachment | null;
|
|
2681
|
+
waveform?: readonly number[];
|
|
2682
|
+
}
|
|
2683
|
+
declare function VoiceMessagePlayer({ player, attachment, waveform }: VoiceMessagePlayerProps): react_jsx_runtime.JSX.Element;
|
|
2684
|
+
interface VideoMessagePlayerProps {
|
|
2685
|
+
player: MediaPlayback;
|
|
2686
|
+
/** The video surface (expo-video's `<VideoView player={…}>`). */
|
|
2687
|
+
video: ReactNode;
|
|
2688
|
+
attachment?: Attachment | null;
|
|
2689
|
+
}
|
|
2690
|
+
declare function VideoMessagePlayer({ player, video, attachment }: VideoMessagePlayerProps): react_jsx_runtime.JSX.Element;
|
|
2691
|
+
/** The app's recorder (expo-audio's `useAudioRecorder`, …). */
|
|
2692
|
+
interface AudioRecorderAdapter {
|
|
2693
|
+
/** Ask for the microphone if needed and start. */
|
|
2694
|
+
start: () => Promise<void>;
|
|
2695
|
+
/** Stop and return the file. */
|
|
2696
|
+
stop: () => Promise<{
|
|
2697
|
+
uri: string;
|
|
2698
|
+
durationMs: number;
|
|
2699
|
+
mimeType: string;
|
|
2700
|
+
}>;
|
|
2701
|
+
/** Stop and throw it away. */
|
|
2702
|
+
cancel: () => Promise<void>;
|
|
2703
|
+
}
|
|
2704
|
+
interface VoiceRecorderProps {
|
|
2705
|
+
recorder: AudioRecorderAdapter;
|
|
2706
|
+
/** Upload with `purpose: 'voice'` and send. */
|
|
2707
|
+
onRecorded: (file: {
|
|
2708
|
+
uri: string;
|
|
2709
|
+
durationMs: number;
|
|
2710
|
+
mimeType: string;
|
|
2711
|
+
}) => void | Promise<unknown>;
|
|
2712
|
+
/** Stops by itself after this long. Default 15 minutes. */
|
|
2713
|
+
maxMs?: number;
|
|
2714
|
+
/** Shorter than this is dropped (a tap, not a recording). Default 700 ms. */
|
|
2715
|
+
minMs?: number;
|
|
2716
|
+
disabled?: boolean;
|
|
2717
|
+
onError?: (err: unknown) => void;
|
|
2718
|
+
}
|
|
2719
|
+
/** Hold to record, release to send; slide-free Cancel while recording. */
|
|
2720
|
+
declare function VoiceRecorder({ recorder, onRecorded, maxMs, minMs, disabled, onError, }: VoiceRecorderProps): react_jsx_runtime.JSX.Element;
|
|
2721
|
+
|
|
2722
|
+
declare function EmojiGlyph({ emoji, size, customEmoji, style, }: {
|
|
2723
|
+
emoji: string;
|
|
2724
|
+
size?: number;
|
|
2725
|
+
customEmoji?: readonly CustomEmoji[];
|
|
2726
|
+
/** Style for the text form. */
|
|
2727
|
+
style?: StyleProp<TextStyle>;
|
|
2728
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2729
|
+
|
|
2730
|
+
/** Block and summary text without Markdown markers (RN renders it as plain text). */
|
|
2731
|
+
declare function stripMarkdown(text: string): string;
|
|
2732
|
+
declare function formatBytes(n: number): string;
|
|
2733
|
+
/** The note id in a Workspace note link, or `null`. */
|
|
2734
|
+
declare function noteIdFromLink(url: string): string | null;
|
|
2735
|
+
|
|
2736
|
+
export { AgendaPanel, type AgendaPanelProps, AgentBadge, AgentBadgeInline, type AgentBadgeProps, AnnotationOverlay, type AnnotationOverlayProps, ApprovalCard, type ApprovalCardProps, ApprovalList, type ApprovalListProps, AskMeetings, type AskMeetingsProps, AttachmentPicker, type AttachmentPickerProps, AttachmentPreview, type AttachmentPreviewProps, type AudioRecorderAdapter, type AudioRoute, type AudioRouteKind, AudioRouteSheet, type AudioRouteSheetProps, Avatar, type AvatarProps, type BackgroundClientsOptions, BlockRenderer, type BlockRendererProps, BreakoutBanner, type BreakoutBannerProps, CallAgentTag, type CallAgentTagProps, CallAvatar, type CallAvatarProps, CallControlButton, type CallControlButtonProps, CallLogRow, type CallLogRowProps, type CaptionLine, CaptionsOverlay, type CaptionsOverlayProps, CatchUpCard, type CatchUpCardProps, type ChatDensity, ChatHeader, type ChatHeaderProps, type ChatLayout, ClipPlayer, type ClipPlayerProps, CommandSuggestions, type ComposerSendOptions, ConnectionIndicator, type ConnectionIndicatorProps, ConsentPrompt, type ConsentPromptProps, type ConversationDraft, type ConversationGroupBy, ConversationList, type ConversationListProps, type ConversationSection, ConversationView, type ConversationViewProps, DaySeparator, type DaySeparatorProps, DlpWarningSheet, type DlpWarningSheetProps, type DraftStorage, EditHistorySheet, type EditHistorySheetProps, EmojiGlyph, EmojiPicker, type EmojiPickerProps, EmptyState, type EmptyStateProps, EscalationCard, type EscalationCardProps, EscalationList, type EscalationListProps, FilesList, type FilesListProps, FormattingToolbar, type FormattingToolbarProps, type ForumPost, ForumPostList, type ForumPostListProps, ForwardSheet, type ForwardSheetProps, type ForwardTarget, GroupDetailsSheet, type GroupDetailsSheetProps, type IconName, ImageMosaic, type ImageMosaicProps, type InboxUser, InviteAgentMenu, type InviteAgentMenuProps, LinkPreviewCard, type LinkPreviewCardProps, LiveCallBanner, type LiveCallBannerProps, LiveTranscriptPanel, type LiveTranscriptPanelProps, LobbyAdmitList, type LobbyAdmitListProps, LobbyWaiting, type LobbyWaitingProps, MarkMomentButton, type MarkMomentButtonProps, type MediaPlayback, MeetingCard, MeetingCardMessageRow, type MeetingCardMessageRowProps, type MeetingCardProps, type MeetingParticipant, MemberList, type MemberListProps, MentionInput, type MentionInputProps, MessageActions, type MessageActionsProps, MessageApproval, type MessageApprovalProps, MessageBubble, type MessageBubbleProps, MessageCitations, type MessageCitationsProps, MessageComposer, type MessageComposerHandle, type MessageComposerProps, type MessageExtrasHandlers, MessageExtrasProvider, MessageList, type MessageListItem, type MessageListProps, MessageRow, type MessageRowProps, type MessageSlot, type MessageSlotProps, type MessageSlots, type MessageUser, NetworkBanner, type NetworkBannerProps, NewMessagesDivider, type NewMessagesDividerProps, NoteCard, type NoteCardProps, PinsList, type PinsListProps, PollCard, type PollCardProps, PoolseIcon, type PoolseIconProps, PoolseInbox, type PoolseInboxHandle, type PoolseInboxProps, PoolseLogo, type PoolseLogoProps, type PoolseLogoVariant, type PoolseMediaProps, type PoolseRNTheme, type PoolseRNThemeOverrides, PoolseTheme, type PoolseThemeProps, PresenceBadge, type PresenceBadgeProps, primitives as Primitives, QuestionsPanel, type QuestionsPanelProps, ReactionPicker, ReactionPickerBar, type ReactionPickerBarProps, type ReactionPickerProps, ReactionStrip, type ReactionStripProps, ReactionsOverlay, type ReactionsOverlayProps, RecordingBanner, type RecordingBannerProps, RecordingIndicator, type RecordingIndicatorProps, RecordingNoticeRow, type RecordingNoticeRowProps, RecordingPlayer, type RecordingPlayerHandle, type RecordingPlayerProps, type RenderMedia, type RenderMessageContext, RoomPresence, type RoomPresenceProps, SendStatus, type SendStatusProps, StagePanel, type StagePanelProps, SummaryCard, type SummaryCardProps, SummaryMessageRow, type SummaryMessageRowProps, type ThemeColors, type ThemeRadii, type ThemeShadows, type ThemeSpacing, type ThemeType, ThreadSummary, type ThreadSummaryProps, ThreadView, type ThreadViewProps, type TimeFormat, TranscriptViewer, type TranscriptViewerProps, TranslatedText, type TranslatedTextProps, TypingIndicator, type TypingIndicatorProps, UploadQueueStrip, UserName, type UserNameProps, VideoMessagePlayer, type VideoMessagePlayerProps, VoiceMessagePlayer, type VoiceMessagePlayerProps, VoiceRecorder, type VoiceRecorderProps, WhisperPanel, type WhisperPanelProps, WhiteboardView, type WhiteboardViewProps, applyBackground, avatarOverflow, callColors, captionLines, defaultDarkTheme, defaultLightTheme, formatBytes, formatCountdown, meetingTimeText, noteIdFromLink, overrunText, rsvpSummary, stripMarkdown, useAppStateLifecycle, useAppStatePresence, useBackgroundClients, useCallDuration, useDisplayName, useMessageExtras, usePoolseTheme, useTheme };
|