UNPKG

@hashbrownai/core

Version:

Runtime helpers for Hashbrown AI

11 lines 693 B
import { EntityState } from '../utils/micro-ngrx'; import { Chat } from '../models'; export type ToolCallsState = EntityState<Chat.Internal.ToolCall>; export declare const reducer: (state: ToolCallsState | undefined, action: { type: string; }) => ToolCallsState; export declare const selectToolCallIds: (state: ToolCallsState) => string[]; export declare const selectToolCallEntities: (state: ToolCallsState) => Record<string, Chat.Internal.ToolCall>; export declare const selectToolCalls: (state: ToolCallsState) => Chat.Internal.ToolCall[]; export declare const selectPendingToolCalls: (state: ToolCallsState) => Chat.Internal.ToolCall[]; //# sourceMappingURL=tool-calls.reducer.d.ts.map