import { ITestEnvironment } from '../test-environment/ITestEnvironment'; import { SessionSetupFunction } from '../core/ISessionManager'; import { TestSessionOptions, ITestSession } from '../core/ITestSession'; import { ISessionExecutionResult } from '../core/ISessionExecutor'; import { SessionResult } from '../results/SessionResult'; import { IEventEmitter } from '../events/IEventBus'; import { SessionEventType, SessionEvent } from '../events/SessionEventTypes'; export interface IPublicAPI { setup(config: Partial): void; getEnvironment(): ITestEnvironment; createSession(label: string, setupFn: SessionSetupFunction, options?: Partial): Promise; runSession(label: string): Promise; runAllSessions(): Promise; getSession(label: string): ITestSession | null; getAllSessions(): ITestSession[]; onSessionEvent(eventType: SessionEventType, callback: (event: SessionEvent) => void): void; onAnySessionEvent(callback: (event: SessionEvent) => void): void; offSessionEvent(eventType: SessionEventType, callback: (event: SessionEvent) => void): void; getEventEmitter(): IEventEmitter; } //# sourceMappingURL=IPublicAPI.d.ts.map