import { WebPlugin } from '@capacitor/core'; import type { NetWorkPlugin, ProtocolType } from './definitions'; export declare class NetWorkWeb extends WebPlugin implements NetWorkPlugin { getIpInfo(): Promise<{ ip: string; ipv4: string; ipv6: string; }>; connect(options: { type: ProtocolType; ip: string; port: number; }): Promise; send(options: { data: any; }): Promise; onData(callback: (data: any) => void): void; disconnect(): Promise; }