box-ui-elements
Version:
Box UI Elements
19 lines (17 loc) • 540 B
Flow
/**
* Flowtype definitions for BoxAISidebarTypes.ts
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
import { type, QuestionType } from "@box/box-ai-content-answers";
import { type, AgentState } from "@box/box-ai-agent-selector";
export type BoxAISidebarCache = {
agents: AgentState,
encodedSession: string | null,
questions: QuestionType[],
...
};
export type BoxAISidebarCacheSetter = (
key: "agents" | "encodedSession" | "questions",
value: AgentState | QuestionType[] | string | null
) => void;