ConnectionInfo: {
    connectionStatisticsLog: (ConnectionStatistics & {
        connectionId: number;
        routeId: string;
    })[];
    enable: ((enable: boolean) => Promise<void>);
    enabled: boolean;
    id: ConnectionInfoId;
    isCatchAll: boolean;
    isConnected: boolean;
    isInternetOfMe: boolean;
    localInstanceId: SHA256IdHash<Instance>;
    localPersonId: SHA256IdHash<Person>;
    localPublicKey: HexString;
    protocolName: string;
    remoteInstanceId: SHA256IdHash<Instance>;
    remotePersonId: SHA256IdHash<Person>;
    remotePublicKey: HexString;
    routes: {
        active: boolean;
        enable: ((enable: boolean) => Promise<void>);
        enabled: boolean;
        name: string;
    }[];
}

This type represents information about a connection.

It is used by functions that report the current state of connections to the user