import { IManagedSession, SessionExecutionOptions } from '../../interfaces/api/IManagedSession'; import { SessionExecutionResult } from '../../interfaces/results/SessionResult'; import { SessionEvent, SessionEventType } from '../../interfaces/events/SessionEventTypes'; import { TestSessionOptions } from '../../interfaces/core/ITestSession'; import { Container } from '../di/Container'; export declare class ManagedSession implements IManagedSession { readonly label: string; private container; constructor(label: string, container?: Container); get exists(): boolean; get completed(): boolean; get failed(): boolean; get error(): Error | undefined; get options(): TestSessionOptions | undefined; get id(): string | undefined; run(options?: SessionExecutionOptions): Promise; runWithTimeout(timeoutMs: number): Promise; reset(): boolean; delete(): boolean; onEvent(eventType: SessionEventType, callback: (event: SessionEvent) => void): () => void; onAnyEvent(callback: (event: SessionEvent) => void): () => void; waitForCompletion(timeoutMs?: number): Promise; getLastResult(): Promise; then(onFulfilled?: (result: SessionExecutionResult) => T): Promise; catch(onRejected?: (error: any) => T): Promise; private getSession; private executeWithRetries; } //# sourceMappingURL=ManagedSessionAPI.d.ts.map