UNPKG

@mastra/core

Version:

The core foundation of the Mastra framework, providing essential components and interfaces for building AI-powered applications.

17 lines 663 B
import type { EvalRow, PaginationArgs, PaginationInfo, StorageEvalRow } from '../../types'; import { LegacyEvalsStorage } from './base'; export type InMemoryEvals = Map<string, StorageEvalRow>; export declare class InMemoryLegacyEvals extends LegacyEvalsStorage { private collection; constructor({ collection }: { collection: InMemoryEvals; }); getEvals(options: { agentName?: string; type?: 'test' | 'live'; } & PaginationArgs): Promise<PaginationInfo & { evals: EvalRow[]; }>; getEvalsByAgentName(agentName: string, type?: 'test' | 'live'): Promise<EvalRow[]>; } //# sourceMappingURL=inmemory.d.ts.map