@voxket-ai/voxket-live 1.0.126 → 1.0.138

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.
@@ -8,6 +8,7 @@ interface ChatViewProps {
8
8
  disabled?: boolean;
9
9
  displayType?: DisplayType;
10
10
  onEndChat?: () => void;
11
+ showTimer?: boolean;
11
12
  }
12
- export declare function ChatView({ client, theme, onBack, disabled, displayType, onEndChat, }: ChatViewProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function ChatView({ client, theme, onBack, disabled, displayType, onEndChat, showTimer, }: ChatViewProps): import("react/jsx-runtime").JSX.Element;
13
14
  export {};
@@ -0,0 +1,15 @@
1
+ import { ThemeType } from '../styles';
2
+ interface SessionTimerProps {
3
+ /** Timer duration in seconds */
4
+ duration: number;
5
+ /** Theme for styling */
6
+ theme?: ThemeType;
7
+ /** Callback when timer expires */
8
+ onTimerExpired?: () => void;
9
+ /** Custom CSS classes */
10
+ className?: string;
11
+ /** Whether to show the timer icon */
12
+ showIcon?: boolean;
13
+ }
14
+ export declare function SessionTimer({ duration, theme, onTimerExpired, className, showIcon }: SessionTimerProps): import("react/jsx-runtime").JSX.Element;
15
+ export default SessionTimer;
@@ -3,11 +3,6 @@ import { ThemeType } from '../styles';
3
3
  import { DisplayType } from './widget';
4
4
  interface SessionViewProps {
5
5
  disabled: boolean;
6
- capabilities: {
7
- suportsChatInput: boolean;
8
- suportsVideoInput: boolean;
9
- suportsScreenShare: boolean;
10
- };
11
6
  sessionStarted: boolean;
12
7
  participantName: string;
13
8
  loadingText?: string;
@@ -17,26 +12,4 @@ interface SessionViewProps {
17
12
  onBack?: () => void;
18
13
  }
19
14
  export declare const SessionView: React.ForwardRefExoticComponent<SessionViewProps & React.RefAttributes<HTMLElement>>;
20
- /**
21
- * VoiceControlPanel Component - Custom Control Panel for Voice Sessions
22
- *
23
- * This component provides a sleek, full-width control panel similar to chat-view's input panel,
24
- * with attachment buttons on the left, voice controls in the center, and end call on the right.
25
- */
26
- interface VoiceControlPanelProps {
27
- capabilities: {
28
- suportsChatInput: boolean;
29
- suportsVideoInput: boolean;
30
- suportsScreenShare: boolean;
31
- };
32
- onSendMessage?: (message: string) => Promise<void>;
33
- onSendAttachments?: (files: File[]) => void;
34
- onEndCall?: () => void;
35
- onChatOpenChange?: (open: boolean) => void;
36
- disabled?: boolean;
37
- theme: ThemeType;
38
- client?: any;
39
- sessionStarted?: boolean;
40
- }
41
- declare function VoiceControlPanel({ capabilities, onSendMessage, onSendAttachments, onEndCall, onChatOpenChange, disabled, theme, client, sessionStarted }: VoiceControlPanelProps): import("react/jsx-runtime").JSX.Element;
42
- export { VoiceControlPanel };
15
+ export {};