import { ActorSession } from './Actor'; import { TrialLifecycleSPClient } from './api/orchestrator_pb_service'; import { Controller } from './Control'; import { CogSettings } from './types'; import { MessageBase } from './types/UtilTypes'; export declare enum TransportType { WEBSOCKET = "websocket", HTTP = "http" } export declare const getTransportFactory: (type: TransportType) => import("@improbable-eng/grpc-web/dist/typings/transports/Transport").TransportFactory; export type ActorImplementation = (session: ActorSession) => Promise; export declare class Context { private cogSettings; private userId; private transportType; private actors; private controller?; constructor(cogSettings: CogSettings, userId?: string, transportType?: TransportType); registerActor: (actorImpl: ActorImplementation, actorName: string, actorClass: string) => void; getControlStub(endpoint: string): TrialLifecycleSPClient; getController: (endpoint?: string) => Controller; joinTrial: (trialId: string, endpoint: string, actorName: string) => Promise; } //# sourceMappingURL=Context.d.ts.map