import { OnInit, OnDestroy, ChangeDetectorRef, ElementRef } from '@angular/core';
import { Router, ActivatedRoute } from '@angular/router';
import { TestRunEntity, TestEntity, TestSuiteRunEntity, AIAgentRunEntity, AIPromptRunEntity, TestRunFeedbackEntity } from '@memberjunction/core-entities';
import { SharedService } from '@memberjunction/ng-shared';
import { TestRunFormComponent } from '../../generated/Entities/TestRun/testrun.form.component';
import * as i0 from "@angular/core";
interface ParsedData {
    input?: any;
    expected?: any;
    actual?: any;
    resultDetails?: any;
}
export declare class TestRunFormComponentExtended extends TestRunFormComponent implements OnInit, OnDestroy {
    protected router: Router;
    protected cdr: ChangeDetectorRef;
    record: TestRunEntity;
    private destroy$;
    activeTab: string;
    loading: boolean;
    error: string | null;
    aiRunsLoaded: boolean;
    feedbackLoaded: boolean;
    test: TestEntity | null;
    testSuiteRun: TestSuiteRunEntity | null;
    aiAgentRuns: AIAgentRunEntity[];
    aiPromptRuns: AIPromptRunEntity[];
    feedbacks: TestRunFeedbackEntity[];
    parsedData: ParsedData;
    comparisonView: 'input' | 'expected' | 'actual';
    constructor(elementRef: ElementRef, sharedService: SharedService, router: Router, route: ActivatedRoute, cdr: ChangeDetectorRef);
    ngOnInit(): Promise<void>;
    ngOnDestroy(): void;
    private loadRelatedData;
    private loadAIRuns;
    private loadFeedback;
    private parseJsonFields;
    changeTab(tab: string): void;
    setComparisonView(view: 'input' | 'expected' | 'actual'): void;
    getStatusColor(): string;
    getStatusIcon(): string;
    calculateDuration(): string;
    formatScore(score: number | null): string;
    formatCost(cost: number | null): string;
    openTest(): void;
    openTestSuiteRun(): void;
    openAIAgentRun(runId: string): void;
    openAIPromptRun(runId: string): void;
    reRunTest(): Promise<void>;
    refresh(): Promise<void>;
    getComparisonData(): any;
    getCheckResults(): any[];
    getPassRate(): number;
    static ɵfac: i0.ɵɵFactoryDeclaration<TestRunFormComponentExtended, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TestRunFormComponentExtended, "mj-test-run-form", never, {}, {}, never, never, false, never>;
}
export declare function LoadTestRunFormComponentExtended(): void;
export {};
//# sourceMappingURL=test-run-form.component.d.ts.map