import { ConsoleException, StepResult, ConsoleMessage } from './interfaces';
export declare class TestContext {
    testArtifactsFolder: string;
    private testName;
    private testFullName;
    dateConstructor: typeof Date;
    private stepIndex;
    private stepResults;
    private testMetadata;
    private _currentStep?;
    consoleEntries: ConsoleMessage[];
    unhandledExceptions: ConsoleException[];
    constructor(testArtifactsFolder: string, testName: string, testFullName: string, dateConstructor?: typeof Date);
    get currentStep(): Readonly<StepResult> | undefined;
    stepStarted(): void;
    getStepIndex(): number;
    stepEnded(): Promise<void>;
    testEnded(): Promise<void>;
    addTestMetadata(metadata: any): void;
    addStepMetadata(metadata: any): void;
    private persistResults;
    private getResultsForPersistency;
}
