import VpnProxyDetect from './NativeVpnProxyDetect';

export function detectVPN(): Promise<boolean> {
  return VpnProxyDetect.detectVPN();
}

export function detectProxy(): Promise<boolean> {
  return VpnProxyDetect.detectProxy();
}

// Default export for backward compatibility
export default {
  detectVPN,
  detectProxy,
};
