import type { EvaluateTable, ResultsFile, EvaluateStats, CompletedPrompt } from '../types';
export declare class TestRun {
    id: string;
    status: string;
    projectId: string;
    applicationIds: string[];
    libraryId?: string;
    persisted: boolean;
    prompts: CompletedPrompt[];
    static findById(id: string): Promise<TestRun | undefined>;
    constructor(opts: {
        id: string;
        status: string;
        projectId: string | any;
        applicationIds: string[];
        libraryId?: string | any;
        persisted?: boolean;
        prompts?: CompletedPrompt[];
    });
    getPrompts(): CompletedPrompt[];
    getStats(): EvaluateStats;
    toResultsFile(filter?: string): Promise<ResultsFile>;
    getTable(filter?: string): Promise<EvaluateTable>;
    updateTable(fields: Partial<{
        totalTestCase?: number;
        applicationIds?: string[];
        libraryId?: string;
    }>): Promise<EvaluateTable>;
}
//# sourceMappingURL=testRun.d.ts.map