import { SessionService } from "../../../core"; import { CreateSessionAttempt } from "../models/config-interfaces"; import * as i0 from "@angular/core"; export declare class CreateSessionWorkflowService { /** * Attempts to initialize a support session using the provided information, using existing sessions if already initiated. * @param sessionService The session service to use when intializing the session. This service should not have an active connected session. * @param deviceId The device ID to be used with the new session * @param apiEndpoint The API endpoint to be used with the session. * @param apiKey The API key to be used with the session. * @returns The state of the attempt. * @throws If there is a preexisting session in a connected state. */ initializeSession(sessionService: SessionService, deviceId: string, apiEndpoint: string, apiKey: string): Promise; private onConnectionState; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }