@hashbrownai/core
Version:
Runtime helpers for Hashbrown AI
12 lines • 530 B
TypeScript
import { Chat } from '../models';
export type ToolState = {
names: string[];
entities: Record<string, Chat.Internal.Tool>;
};
export declare const reducer: (state: ToolState | undefined, action: {
type: string;
}) => ToolState;
export declare const selectToolNames: (state: ToolState) => string[];
export declare const selectToolEntities: (state: ToolState) => Record<string, Chat.Internal.Tool>;
export declare const selectTools: (state: ToolState) => Chat.Internal.Tool[];
//# sourceMappingURL=tools.reducer.d.ts.map