import type { ListScoresResponse, SaveScorePayload, ScoreRowData, ScoringSource } from '@mastra/core/evals';
import { ScoresStorage } from '@mastra/core/storage';
import type { StoragePagination } from '@mastra/core/storage';
import type { LibSQLDomainConfig } from '../../db/index.js';
export declare class ScoresLibSQL extends ScoresStorage {
    #private;
    constructor(config: LibSQLDomainConfig);
    init(): Promise<void>;
    dangerouslyClearAll(): Promise<void>;
    listScoresByRunId({ runId, pagination, }: {
        runId: string;
        pagination: StoragePagination;
    }): Promise<ListScoresResponse>;
    listScoresByScorerId({ scorerId, entityId, entityType, source, pagination, }: {
        scorerId: string;
        entityId?: string;
        entityType?: string;
        source?: ScoringSource;
        pagination: StoragePagination;
    }): Promise<ListScoresResponse>;
    /**
     * LibSQL-specific score row transformation.
     */
    private transformScoreRow;
    getScoreById({ id }: {
        id: string;
    }): Promise<ScoreRowData | null>;
    saveScore(score: SaveScorePayload): Promise<{
        score: ScoreRowData;
    }>;
    listScoresByEntityId({ entityId, entityType, pagination, }: {
        pagination: StoragePagination;
        entityId: string;
        entityType: string;
    }): Promise<ListScoresResponse>;
    listScoresBySpan({ traceId, spanId, pagination, }: {
        traceId: string;
        spanId: string;
        pagination: StoragePagination;
    }): Promise<ListScoresResponse>;
}
//# sourceMappingURL=index.d.ts.map