voicebot-react-native-expo
Version:
This is a voicebot-react-native package of Kipps AI voice bot for React Native Expo
23 lines • 594 B
TypeScript
import { WidgetState } from '@livekit/components-core';
import type * as React from 'react';
/** @internal */
export type ChatContextAction = {
msg: 'show_chat';
} | {
msg: 'hide_chat';
} | {
msg: 'toggle_chat';
} | {
msg: 'unread_msg';
count: number;
} | {
msg: 'toggle_settings';
};
/** @internal */
export type WidgetContextType = {
dispatch?: React.Dispatch<ChatContextAction>;
state?: WidgetState;
};
/** @internal */
export declare function chatReducer(state: WidgetState, action: ChatContextAction): WidgetState;
//# sourceMappingURL=chat-context.d.ts.map