import * as React from "react"; import type IdentityClient from "../../../core/Insights/Identity/NextIdentityClient"; import { YticaAppName } from "./YticaApp"; interface InsightsViewProps { getUrl: (client: IdentityClient) => Promise; isActive: boolean; name: YticaAppName; onMessage?: (e: MessageEvent) => void; } interface InsightsViewState { url: string; urlStatus: UrlStatus; } declare enum UrlStatus { Fetching = 0, Fetched = 1, Error = 2 } export default class InsightsView extends React.Component { hasFetched: boolean; state: InsightsViewState; static defaultProps: { isActive: boolean; }; private yticaRef; private getUrl; get iframeRef(): HTMLIFrameElement | null; render(): JSX.Element; } export {};