{
  "api": {
    "name": "NetWorkPlugin",
    "slug": "networkplugin",
    "docs": "",
    "tags": [],
    "methods": [
      {
        "name": "connect",
        "signature": "(options: { type: ProtocolType; ip: string; port: number; }) => Promise<void>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "{ type: ProtocolType; ip: string; port: number; }"
          }
        ],
        "returns": "Promise<void>",
        "tags": [],
        "docs": "",
        "complexTypes": [
          "ProtocolType"
        ],
        "slug": "connect"
      },
      {
        "name": "disconnect",
        "signature": "() => Promise<void>",
        "parameters": [],
        "returns": "Promise<void>",
        "tags": [],
        "docs": "",
        "complexTypes": [],
        "slug": "disconnect"
      },
      {
        "name": "send",
        "signature": "(options: { data: string; ip?: string; udpType?: 'broadcast' | 'multicast' | 'singelcast'; }) => Promise<void>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "{ data: string; ip?: string | undefined; udpType?: 'broadcast' | 'multicast' | 'singelcast' | undefined; }"
          }
        ],
        "returns": "Promise<void>",
        "tags": [],
        "docs": "",
        "complexTypes": [],
        "slug": "send"
      },
      {
        "name": "getIpInfo",
        "signature": "() => Promise<{ ip: string; ipv4: string; ipv6: string; }>",
        "parameters": [],
        "returns": "Promise<{ ip: string; ipv4: string; ipv6: string; }>",
        "tags": [],
        "docs": "",
        "complexTypes": [],
        "slug": "getipinfo"
      },
      {
        "name": "addListener",
        "signature": "<T>(eventName: 'data', listenerFunc: (data: T) => void) => Promise<PluginListenerHandle>",
        "parameters": [
          {
            "name": "eventName",
            "docs": "",
            "type": "'data'"
          },
          {
            "name": "listenerFunc",
            "docs": "",
            "type": "(data: T) => void"
          }
        ],
        "returns": "Promise<PluginListenerHandle>",
        "tags": [],
        "docs": "",
        "complexTypes": [
          "PluginListenerHandle",
          "T"
        ],
        "slug": "addlistenerdata-"
      },
      {
        "name": "addListener",
        "signature": "(eventName: 'disconnected', listenerFunc: (data: { type: ProtocolType; port: number; ip?: string; }) => void) => Promise<PluginListenerHandle>",
        "parameters": [
          {
            "name": "eventName",
            "docs": "",
            "type": "'disconnected'"
          },
          {
            "name": "listenerFunc",
            "docs": "",
            "type": "(data: { type: ProtocolType; port: number; ip?: string | undefined; }) => void"
          }
        ],
        "returns": "Promise<PluginListenerHandle>",
        "tags": [],
        "docs": "",
        "complexTypes": [
          "PluginListenerHandle",
          "ProtocolType"
        ],
        "slug": "addlistenerdisconnected-"
      },
      {
        "name": "addListener",
        "signature": "(eventName: 'connected', listenerFunc: (data: { type: ProtocolType; port: number; ip?: string; }) => void) => Promise<PluginListenerHandle>",
        "parameters": [
          {
            "name": "eventName",
            "docs": "",
            "type": "'connected'"
          },
          {
            "name": "listenerFunc",
            "docs": "",
            "type": "(data: { type: ProtocolType; port: number; ip?: string | undefined; }) => void"
          }
        ],
        "returns": "Promise<PluginListenerHandle>",
        "tags": [],
        "docs": "",
        "complexTypes": [
          "PluginListenerHandle",
          "ProtocolType"
        ],
        "slug": "addlistenerconnected-"
      }
    ],
    "properties": []
  },
  "interfaces": [
    {
      "name": "PluginListenerHandle",
      "slug": "pluginlistenerhandle",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "remove",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "() => Promise<void>"
        }
      ]
    }
  ],
  "enums": [],
  "typeAliases": [
    {
      "name": "ProtocolType",
      "slug": "protocoltype",
      "docs": "",
      "types": [
        {
          "text": "'tcp'",
          "complexTypes": []
        },
        {
          "text": "'udp'",
          "complexTypes": []
        }
      ]
    }
  ],
  "pluginConfigs": []
}