export function conversationManagerStateReducer(state: State, action: Action): State; export function conversationManagerStateInitial(state?: Partial): State; export function useConversationManagerStateReducer(state?: Partial): [State, import("react").Dispatch]; export default useConversationManagerStateReducer; export type Message = import("@chatbotkit/sdk/conversation/v1").Message & { id: string; createdAt: Date; }; export type State = { thinking: boolean; typing: boolean; message: Message | null; messages: Message[]; }; export type SetThinkingAction = { type: "setThinking"; data: { thinking: boolean; }; }; export type SetTypingAction = { type: "setTyping"; data: { typing: boolean; }; }; export type AppendTextAction = { type: "appendText"; data: { text: string; }; }; export type AppendMessageAction = { type: "appendMessage"; data: { message: Omit & { id?: string; createdAt?: Date; }; }; }; export type Action = SetThinkingAction | SetTypingAction | AppendTextAction | AppendMessageAction;