import type { WebsocketServerConfig } from '@citrineos/types'; /** * Interface for the ocpp network connection */ export interface INetworkConnection { bindNetworkHook(): (identifier: string, message: string) => Promise; disconnect(tenantId: number, ocppConnectionName: string): Promise; shutdown(): Promise; addWebsocketServer?(websocketServerConfig: WebsocketServerConfig): Promise; reloadTlsCertificates?(serverId: string): Promise; }