import { HttpClient } from '..'; import { ILogger, XscLog, StartScanRequest, ScanEventResponse, ScanEvent } from '../../model/'; export declare class XscEventClient { private readonly httpClient; private readonly logger; static readonly eventEndpoint: string; static readonly logEventEndpoint: string; constructor(httpClient: HttpClient, logger: ILogger); /** * * Send 'POST /event/logMessage' request to Xsc. * * @param logEvent - The Log event to send * @returns true if the log was sent successfully, false otherwise. */ log(logEvent: XscLog): Promise; /** * * Send 'POST /event' request to Xsc. * * @param eventInfo - The Scan request information that is requested to start * @returns the scan event information that started. * @throws an exception if an unexpected response received from Xsc. */ startScan(eventInfo: StartScanRequest): Promise; /** * * Send 'PUT /event' request to Xsc. * * @param eventInfo - The Scan event to end * @returns true if the scan ending information sent successfully, false otherwise. */ endScan(event: ScanEvent): Promise; getScanEvent(multiScanId: string): Promise; }