@@ -573,7 +573,7 @@ export interface RoomAudioRendererProps {
573
573
export const RoomContext: React_2 .Context <Room | undefined >;
574
574
575
575
// @public
576
- export const RoomName: ( props : RoomNameProps & React_2 .RefAttributes <HTMLSpanElement >) => React_2 . ReactNode ;
576
+ export const RoomName: React_2 . FC < RoomNameProps & React_2 .RefAttributes <HTMLSpanElement >> ;
577
577
578
578
// @public (undocumented)
579
579
export interface RoomNameProps extends React_2 .HTMLAttributes <HTMLSpanElement > {
@@ -637,6 +637,13 @@ export interface TrackMutedIndicatorProps extends React_2.HTMLAttributes<HTMLDiv
637
637
// @public
638
638
export const TrackRefContext: React_2 .Context <TrackReferenceOrPlaceholder | undefined >;
639
639
640
+ // Warning: (ae-internal-missing-underscore) The name "TrackRefContextIfNeeded" should be prefixed with an underscore because the declaration is marked as @internal
641
+ //
642
+ // @internal
643
+ export function TrackRefContextIfNeeded(props : React_2 .PropsWithChildren <{
644
+ trackRef? : TrackReferenceOrPlaceholder ;
645
+ }>): React_2 .JSX .Element ;
646
+
640
647
// @public (undocumented)
641
648
export type TrackReference = {
642
649
participant: Participant ;
@@ -881,7 +888,7 @@ export function useMediaDeviceSelect({ kind, room, track, requestPermissions, on
881
888
devices: MediaDeviceInfo [];
882
889
className: string ;
883
890
activeDeviceId: string ;
884
- setActiveMediaDevice: (id : string , options ? : SetMediaDeviceOptions ) => Promise <void >;
891
+ setActiveMediaDevice: (id : string , options ? : SetMediaDeviceOptions | undefined ) => Promise <void >;
885
892
};
886
893
887
894
// @public (undocumented)
@@ -916,7 +923,7 @@ export function useParticipantAttribute(attributeKey: string, options?: UseParti
916
923
917
924
// @public (undocumented)
918
925
export function useParticipantAttributes(props ? : UseParticipantAttributesOptions ): {
919
- attributes: Readonly <Record <string , string >>;
926
+ attributes: Readonly <Record <string , string >> | undefined ;
920
927
};
921
928
922
929
// @public
@@ -930,7 +937,7 @@ export function useParticipantContext(): Participant;
930
937
931
938
// @public (undocumented)
932
939
export function useParticipantInfo(props ? : UseParticipantInfoOptions ): {
933
- identity: string ;
940
+ identity: string | undefined ;
934
941
name: string | undefined ;
935
942
metadata: string | undefined ;
936
943
};
@@ -1152,7 +1159,7 @@ export type UseTracksOptions = {
1152
1159
1153
1160
// @public
1154
1161
export function useTrackToggle<T extends ToggleSource >({ source , onChange , initialState , captureOptions , publishOptions , onDeviceError , ... rest }: UseTrackToggleProps <T >): {
1155
- toggle: (forceState ? : boolean , captureOptions ? : CaptureOptionsBySource <T > | undefined ) => Promise <void >;
1162
+ toggle: (forceState ? : boolean | undefined , captureOptions ? : CaptureOptionsBySource <T > | undefined ) => Promise <void >;
1156
1163
enabled: boolean ;
1157
1164
pending: boolean ;
1158
1165
track: LocalTrackPublication | undefined ;
@@ -1164,7 +1171,7 @@ export interface UseTrackToggleProps<T extends ToggleSource> extends Omit<TrackT
1164
1171
}
1165
1172
1166
1173
// @alpha (undocumented)
1167
- export function useTrackTranscription(trackRef : TrackReferenceOrPlaceholder , options ? : TrackTranscriptionOptions ): {
1174
+ export function useTrackTranscription(trackRef : TrackReferenceOrPlaceholder | undefined , options ? : TrackTranscriptionOptions ): {
1168
1175
segments: ReceivedTranscriptionSegment [];
1169
1176
};
1170
1177
@@ -1180,6 +1187,9 @@ export interface UseVisualStableUpdateOptions {
1180
1187
customSortFunction? : (trackReferences : TrackReferenceOrPlaceholder []) => TrackReferenceOrPlaceholder [];
1181
1188
}
1182
1189
1190
+ // @alpha
1191
+ export function useVoiceAssistant(): VoiceAssistant ;
1192
+
1183
1193
// @public
1184
1194
export function VideoConference({ chatMessageFormatter , chatMessageDecoder , chatMessageEncoder , SettingsComponent , ... props }: VideoConferenceProps ): React_2 .JSX .Element ;
1185
1195
@@ -1211,6 +1221,26 @@ export interface VideoTrackProps extends React_2.VideoHTMLAttributes<HTMLVideoEl
1211
1221
trackRef? : TrackReference ;
1212
1222
}
1213
1223
1224
+ // @alpha (undocumented)
1225
+ export interface VoiceAssistant {
1226
+ // (undocumented)
1227
+ agent: RemoteParticipant | undefined ;
1228
+ // (undocumented)
1229
+ agentAttributes: RemoteParticipant [' attributes' ] | undefined ;
1230
+ // (undocumented)
1231
+ agentTranscriptions: ReceivedTranscriptionSegment [];
1232
+ // (undocumented)
1233
+ audioTrack: TrackReference | undefined ;
1234
+ // (undocumented)
1235
+ state: VoiceAssistantState ;
1236
+ }
1237
+
1238
+ // @alpha (undocumented)
1239
+ export const VoiceAssistantContext: React_2 .Context <VoiceAssistant | undefined >;
1240
+
1241
+ // @alpha (undocumented)
1242
+ export type VoiceAssistantState = ' disconnected' | ' connecting' | ' listening' | ' thinking' | ' speaking' ;
1243
+
1214
1244
// @public (undocumented)
1215
1245
export type WidgetState = {
1216
1246
showChat: boolean ;
0 commit comments