UNPKG

@mastra/core

Version:
11 lines 709 B
import type { RequestContext } from '../../request-context/index.js'; import type { GoalObjectiveRecord } from '../../storage/domains/thread-state/base.js'; interface GoalObjectiveCache { threadId: string; objective: GoalObjectiveRecord | null; } export declare function clearCachedGoalObjective(requestContext: RequestContext | undefined): void; export declare function cacheGoalObjective(requestContext: RequestContext | undefined, threadId: string, objective: GoalObjectiveRecord | undefined): void; export declare function takeCachedGoalObjective(requestContext: RequestContext | undefined, threadId: string): GoalObjectiveCache | undefined; export {}; //# sourceMappingURL=activity-cache.d.ts.map