export declare const transformAssertion: (assertion: any) => any;
export interface CreateTestRunParams {
    evaluateOptions: any;
    applicationIds: string[];
    libraryId: string;
    testRunId?: string;
    apiKey?: string;
    isCustomProvider?: boolean;
    orgId: string;
    projectId: string;
    testSuite: any;
    token?: string | string[];
    userId?: string;
    userName?: string;
}
export interface CreateTestRunResult {
    id: string;
    testRunId: string;
}
export interface CreateTestRunError {
    success: false;
    message: string;
    showToast?: boolean;
    toastMetadata?: {
        text: string;
        type: string;
        action?: {
            label: string;
            actionType: string;
        };
        duration?: number;
    };
}
export interface GenerateTestSuiteParams {
    tests: any;
    datasetIds: any[];
    orgId: string;
    projectId: string;
    parentPromptId: string;
    token?: string | string[];
    apiKey?: string;
}
export declare class TestRunService {
    private transformDatasetService;
    constructor();
    private setTestRunFailed;
    /**
     * Create a test run with all validation, processing, and evaluation logic
     */
    createTestRun(params: CreateTestRunParams): Promise<CreateTestRunResult | CreateTestRunError>;
    /**
     * Process test run in background - handles all validation, processing, and evaluation
     */
    private processTestRunInBackground;
    /**
     * Generate test suite by transforming dataset
     */
    generateTestSuite(params: GenerateTestSuiteParams): Promise<{
        flattenedTests: any[];
    }>;
}
export declare const testRunService: TestRunService;
//# sourceMappingURL=testRunService.d.ts.map