/** * Score operations for the v-next Postgres observability domain. * * Implements the full ObservabilityStorage score surface — write, list, * aggregate, breakdown, time series, and percentiles. */ import type { BatchCreateScoresArgs, CreateScoreArgs, DeleteScoresArgs, GetScoreAggregateArgs, GetScoreAggregateResponse, GetScoreBreakdownArgs, GetScoreBreakdownResponse, GetScorePercentilesArgs, GetScorePercentilesResponse, GetScoreTimeSeriesArgs, GetScoreTimeSeriesResponse, ListScoresArgs, ListScoresResponse, ScoreRecord } from '@mastra/core/storage'; import type { DbClient } from '../../../client.js'; export declare function createScore(client: DbClient, schema: string, args: CreateScoreArgs): Promise; export declare function batchCreateScores(client: DbClient, schema: string, args: BatchCreateScoresArgs): Promise; /** * Delete score events by scoreId. Optional `organizationId` and `resourceId` * values are ANDed into the predicate to restrict deletion to records with * matching scope fields. */ export declare function deleteScores(client: DbClient, schema: string, args: DeleteScoresArgs): Promise; export declare function listScores(client: DbClient, schema: string, args: ListScoresArgs): Promise; export declare function getScoreById(client: DbClient, schema: string, scoreId: string): Promise; export declare function getScoreAggregate(client: DbClient, schema: string, args: GetScoreAggregateArgs): Promise; export declare function getScoreBreakdown(client: DbClient, schema: string, args: GetScoreBreakdownArgs): Promise; export declare function getScoreTimeSeries(client: DbClient, schema: string, args: GetScoreTimeSeriesArgs): Promise; export declare function getScorePercentiles(client: DbClient, schema: string, args: GetScorePercentilesArgs): Promise; //# sourceMappingURL=scores.d.ts.map