@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
9 lines • 526 B
TypeScript
import type { ScoringHookInput } from '../evals/types.js';
import type { Mastra } from '../mastra/index.js';
import type { MastraStorage } from '../storage/index.js';
export declare function createOnScorerHook(mastra: Mastra): (hookData: ScoringHookInput) => Promise<void>;
/**
* @deprecated Legacy scores-store path. New score emission should use `mastra.observability.addScore()`.
*/
export declare function validateAndSaveScore(storage: MastraStorage, payload: unknown): Promise<void>;
//# sourceMappingURL=hooks.d.ts.map