import { HttpClient } from '../http/http-client'; import { CreateCall, Call, LeadCtx, SignUpGuest, GuestProfile, AgentCtx, LoginForm, LoginWithTokenForm } from './protocol'; import { ApiKey } from '../protocol/protocol'; export declare class SpinnerApi { private httpClient; constructor(httpClient: HttpClient); setApiKey(apiKey: ApiKey): void; getGuestProfile(orgId: string, id: string): Promise; signUpGuest(body: SignUpGuest): Promise; /** * It requires deviceId to be set * @param body CreateCall */ createCall(body: CreateCall): Promise; login(body: LoginForm | LoginWithTokenForm): Promise; getSession(): Promise; }