import { DeesElement, type TemplateResult } from '@design.estate/dees-element'; import * as appstate from '../../appstate.js'; import { type IChartPoint, type TProtocolChartSeries } from './network-activity-history.js'; declare global { interface HTMLElementTagNameMap { 'ops-view-network-activity': OpsViewNetworkActivity; } } export declare class OpsViewNetworkActivity extends DeesElement { /** How far back the realtime charts show */ private static readonly CHART_WINDOW_MS; /** How often a new data point is added */ private static readonly UPDATE_INTERVAL_MS; /** Derived: max data points the buffer holds */ private static readonly MAX_DATA_POINTS; accessor statsState: appstate.IStatsState; accessor networkState: appstate.INetworkState; accessor trafficDataIn: IChartPoint[]; accessor trafficDataOut: IChartPoint[]; accessor frontendConnectionSeries: TProtocolChartSeries; accessor backendConnectionSeries: TProtocolChartSeries; private lastChartUpdate; private chartUpdateThreshold; private trafficUpdateTimer; private requestsPerSecHistory; private visibilityHandler; private lastThroughputHistoryEpochSecond; private lastFrontendHistoryEpochSecond; private lastBackendHistoryEpochSecond; constructor(); connectedCallback(): Promise; disconnectedCallback(): Promise; private subscribeToStateParts; private initializeTrafficData; private mergeThroughputHistory; private getProtocolCounts; private mergeProtocolConnectionHistories; private addProtocolConnectionDataPoints; static styles: import("@design.estate/dees-element").CSSResult[]; render(): TemplateResult<1>; private formatNumber; private formatBytes; private formatBitsPerSecond; private formatOptional; private formatDateTime; private getIpIntelligence; private getIpOrganization; private getIpIntelligenceColumns; private getIpDataActions; private getAsnDataActions; private calculateThroughput; private renderNetworkStats; private renderProtocolCharts; private renderTopIPs; private renderTopASNs; private renderTopIPsByBandwidth; private renderDomainActivity; private renderBackendProtocols; private showBackendDetails; private getDropdownKey; private createBlockRuleDialog; private showIpIntelligenceDetails; private updateNetworkData; private startTrafficUpdateTimer; private addTrafficDataPoint; private stopTrafficUpdateTimer; }