@hashbrownai/core
Version:
Runtime helpers for Hashbrown AI
9 lines • 356 B
TypeScript
import { Chat } from '../models';
export interface MessagesState {
messages: Chat.Internal.Message[];
}
export declare const reducer: (state: MessagesState | undefined, action: {
type: string;
}) => MessagesState;
export declare const selectMessages: (state: MessagesState) => Chat.Internal.Message[];
//# sourceMappingURL=messages.reducer.d.ts.map