/** * Checks if a VPN connection is active. * @returns {boolean} Returns true if a VPN connection is active, otherwise false. */ export declare function isVpnActive(): boolean; /** * Adds an event listener for VPN connection status changes. * @param listener - A callback function that is invoked when the VPN status changes. * @returns A function to unsubscribe the event listener. */ export declare function addEventListener(listener: (isVpnActive: boolean) => void): import("@react-native-community/netinfo").NetInfoSubscription; /** * Custom React hook to get the current VPN connection status. * @returns Returns true if a VPN connection is active, otherwise false. */ export declare const useIsVpnActive: () => boolean; //# sourceMappingURL=index.d.ts.map