import { PubSubEngine } from 'type-graphql';
import { AppContext } from '../types.js';
import { ResolverBase } from '../generic/ResolverBase.js';
export declare class TestRunResult {
    success: boolean;
    errorMessage?: string;
    executionTimeMs?: number;
    result: string;
}
export declare class TestSuiteRunResult {
    success: boolean;
    errorMessage?: string;
    executionTimeMs?: number;
    result: string;
}
export declare class TestExecutionProgress {
    currentStep: string;
    percentage: number;
    message: string;
    testName?: string;
    driverType?: string;
    oracleEvaluation?: string;
}
export declare class TestExecutionStreamMessage {
    sessionId: string;
    testRunId: string;
    type: 'progress' | 'oracle_eval' | 'complete' | 'error';
    progress?: TestExecutionProgress;
    timestamp: Date;
    testRun?: any;
}
export declare class RunTestResolver extends ResolverBase {
    RunTest(testId: string, verbose?: boolean, environment?: string, tags?: string, pubSub?: PubSubEngine, { userPayload }?: AppContext): Promise<TestRunResult>;
    RunTestSuite(suiteId: string, verbose?: boolean, environment?: string, parallel?: boolean, tags?: string, selectedTestIds?: string, sequenceStart?: number, sequenceEnd?: number, pubSub?: PubSubEngine, { userPayload }?: AppContext): Promise<TestSuiteRunResult>;
    IsTestRunning(testId: string, { userPayload }?: AppContext): Promise<boolean>;
    private createProgressCallback;
    private publishProgress;
    private publishComplete;
    private publishError;
}
//# sourceMappingURL=RunTestResolver.d.ts.map