declare module 'react-native-wireguard-vpn' { export interface WireGuardConfig { privateKey: string; publicKey: string; serverAddress: string; serverPort: number; allowedIPs: string[]; dns?: string[]; mtu?: number; presharedKey?: string; } export interface WireGuardStatus { isConnected: boolean; tunnelState: 'UP' | 'DOWN' | 'UNKNOWN' | 'ERROR'; error?: string; vpnPermissionGranted?: boolean; } export const WireGuardVpnModule: { initialize(): Promise; requestVpnPermission(): Promise; connect(config: WireGuardConfig): Promise; disconnect(): Promise; getStatus(): Promise; isSupported(): Promise; }; }