import { DeviceDataType } from "./types"; import { Environment } from "../../shared/env"; export interface DeviceDataCollectionMessage { device_data_collection_url: string; access_token: string; reference_id: string; } export default class DeviceDataCollection { static readonly displayName = "DeviceDataCollection"; private static readonly IFRAME_ID; private static readonly IFRAME_NAME; private static readonly FORM_ID; private static readonly INPUT_ID; private static messageHandler; createIframe(): void; static listenDataCollectionResponse(environment: Environment): void; private static handleDataCollectionResponse; private static handleCollectionResponse; static collectDeviceData(): DeviceDataType; static setIframeUrl(url: string, jwt: string): void; static getForm(): HTMLFormElement | null; static getIframe(): HTMLIFrameElement | null; static getInput(): HTMLInputElement | null; static submit(): void; private static reportDeviceData; private static ensureCreated; }