UNPKG

@hashbrownai/core

Version:

Runtime helpers for Hashbrown AI

21 lines 1 kB
export interface StatusState { isReceiving: boolean; isSending: boolean; isGenerating: boolean; sendingError: Error | undefined; generatingError: Error | undefined; error: Error | undefined; exhaustedRetries: boolean; } export declare const initialStatusState: StatusState; export declare const reducer: (state: StatusState | undefined, action: { type: string; }) => StatusState; export declare const selectIsReceiving: (state: StatusState) => boolean; export declare const selectIsSending: (state: StatusState) => boolean; export declare const selectIsGenerating: (state: StatusState) => boolean; export declare const selectSendingError: (state: StatusState) => Error | undefined; export declare const selectGeneratingError: (state: StatusState) => Error | undefined; export declare const selectError: (state: StatusState) => Error | undefined; export declare const selectExhaustedRetries: (state: StatusState) => boolean; //# sourceMappingURL=status.reducer.d.ts.map