@@ -72,14 +72,14 @@ import { TranscriptionSegment } from 'livekit-client';
7272import { VideoCaptureOptions } from ' livekit-client' ;
7373import { WidgetState } from ' @livekit/components-core' ;
7474
75- // @public (undocumented)
75+ // @beta (undocumented)
7676export type AgentCallbacks = {
7777 [AgentEvent .CameraChanged ]: (newTrack : TrackReference | undefined ) => void ;
7878 [AgentEvent .MicrophoneChanged ]: (newTrack : TrackReference | undefined ) => void ;
7979 [AgentEvent .StateChanged ]: (newAgentState : AgentState ) => void ;
8080};
8181
82- // @public (undocumented)
82+ // @beta (undocumented)
8383export enum AgentEvent {
8484 // (undocumented)
8585 CameraChanged = " cameraChanged" ,
@@ -91,7 +91,7 @@ export enum AgentEvent {
9191
9292// Warning: (ae-forgotten-export) The symbol "AgentSdkStates" needs to be exported by the entry point index.docs.d.ts
9393//
94- // @public
94+ // @beta
9595export type AgentState = ' disconnected' | ' connecting' | ' pre-connect-buffering' | ' failed' | AgentSdkStates ;
9696
9797// @public (undocumented)
@@ -486,12 +486,12 @@ export { MessageEncoder }
486486// @public (undocumented)
487487export type MessageFormatter = (message : string ) => React_2 .ReactNode ;
488488
489- // @public (undocumented)
489+ // @beta (undocumented)
490490export type MessagesCallbacks = {
491491 [MessagesEvent .MessageReceived ]: (message : ReceivedMessage ) => void ;
492492};
493493
494- // @public (undocumented)
494+ // @beta (undocumented)
495495export enum MessagesEvent {
496496 MessageReceived = " messageReceived"
497497}
@@ -654,14 +654,14 @@ export const ScreenShareIcon: (props: SVGProps<SVGSVGElement>) => React_2.JSX.El
654654// @internal (undocumented)
655655export const ScreenShareStopIcon: (props : SVGProps <SVGSVGElement >) => React_2 .JSX .Element ;
656656
657- // @public (undocumented)
657+ // @beta (undocumented)
658658export type SessionCallbacks = {
659659 [SessionEvent .ConnectionStateChanged ]: (newAgentConnectionState : ConnectionState_2 ) => void ;
660660 [SessionEvent .MediaDevicesError ]: (error : Error ) => void ;
661661 [SessionEvent .EncryptionError ]: (error : Error ) => void ;
662662};
663663
664- // @public (undocumented)
664+ // @beta (undocumented)
665665export type SessionConnectOptions = {
666666 signal? : AbortSignal ;
667667 tracks? : {
@@ -673,18 +673,18 @@ export type SessionConnectOptions = {
673673 roomConnectOptions? : RoomConnectOptions ;
674674};
675675
676- // @public (undocumented)
676+ // @beta (undocumented)
677677export enum SessionEvent {
678678 // (undocumented)
679679 ConnectionStateChanged = " connectionStateChanged" ,
680680 EncryptionError = " encryptionError" ,
681681 MediaDevicesError = " mediaDevicesError"
682682}
683683
684- // @public
684+ // @beta
685685export function SessionProvider(props : SessionProviderProps ): React_2 .JSX .Element ;
686686
687- // @public (undocumented)
687+ // @beta (undocumented)
688688export type SessionProviderProps = {
689689 session: UseSessionReturn ;
690690 children: React_2 .ReactNode ;
@@ -705,7 +705,7 @@ export const StartAudio: (props: AllowAudioPlaybackProps & React_2.RefAttributes
705705// @public
706706export const StartMediaButton: (props : AllowMediaPlaybackProps & React_2 .RefAttributes <HTMLButtonElement >) => React_2 .ReactNode ;
707707
708- // @public (undocumented)
708+ // @beta (undocumented)
709709export type SwitchActiveDeviceOptions = {
710710 exact? : boolean ;
711711};
@@ -782,13 +782,13 @@ export const UnfocusToggleIcon: (props: SVGProps<SVGSVGElement>) => React_2.JSX.
782782
783783// Warning: (ae-forgotten-export) The symbol "SessionStub" needs to be exported by the entry point index.docs.d.ts
784784//
785- // @public
785+ // @beta
786786export function useAgent(session ? : SessionStub ): UseAgentReturn ;
787787
788788// Warning: (ae-forgotten-export) The symbol "AgentStateCases" needs to be exported by the entry point index.docs.d.ts
789789// Warning: (ae-forgotten-export) The symbol "AgentActions" needs to be exported by the entry point index.docs.d.ts
790790//
791- // @public (undocumented)
791+ // @beta (undocumented)
792792export type UseAgentReturn = AgentStateCases & AgentActions ;
793793
794794// @alpha
@@ -877,7 +877,7 @@ export function useEnsureParticipant(participant?: Participant): Participant;
877877// @public
878878export function useEnsureRoom(room ? : Room ): Room ;
879879
880- // @public
880+ // @beta
881881export function useEnsureSession(session ? : UseSessionReturn ): UseSessionReturn ;
882882
883883// @public
@@ -1004,7 +1004,7 @@ export function useMaybeParticipantContext(): Participant | undefined;
10041004// @public
10051005export function useMaybeRoomContext(): Room | undefined ;
10061006
1007- // @public
1007+ // @beta
10081008export function useMaybeSessionContext(): UseSessionReturn | undefined ;
10091009
10101010// @public
@@ -1206,21 +1206,21 @@ export type UseSequentialRoomConnectDisconnectResults<R extends Room | undefined
12061206
12071207// Warning: (ae-forgotten-export) The symbol "UseSessionConfigurableOptions" needs to be exported by the entry point index.docs.d.ts
12081208//
1209- // @public
1209+ // @beta
12101210export function useSession(tokenSource : TokenSourceConfigurable , options ? : UseSessionConfigurableOptions ): UseSessionReturn ;
12111211
12121212// Warning: (ae-forgotten-export) The symbol "UseSessionFixedOptions" needs to be exported by the entry point index.docs.d.ts
12131213//
1214- // @public
1214+ // @beta
12151215export function useSession(tokenSource : TokenSourceFixed , options ? : UseSessionFixedOptions ): UseSessionReturn ;
12161216
1217- // @public
1217+ // @beta
12181218export function useSessionContext(): UseSessionReturn ;
12191219
1220- // @public (undocumented)
1220+ // @beta (undocumented)
12211221export function useSessionMessages(session ? : UseSessionReturn ): UseSessionMessagesReturn ;
12221222
1223- // @public (undocumented)
1223+ // @beta (undocumented)
12241224export type UseSessionMessagesReturn = {
12251225 messages: Array <ReceivedMessage >;
12261226 isSending: boolean ;
@@ -1235,7 +1235,7 @@ export type UseSessionMessagesReturn = {
12351235// Warning: (ae-forgotten-export) The symbol "SessionStateDisconnected" needs to be exported by the entry point index.docs.d.ts
12361236// Warning: (ae-forgotten-export) The symbol "SessionActions" needs to be exported by the entry point index.docs.d.ts
12371237//
1238- // @public (undocumented)
1238+ // @beta (undocumented)
12391239export type UseSessionReturn = (SessionStateConnecting | SessionStateConnected | SessionStateDisconnected ) & SessionActions ;
12401240
12411241// @public
0 commit comments