import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { NEHotspotHelperConfidence } from "./NEHotspotHelperConfidence.js";
import type { NEHotspotNetworkSecurityType } from "./NEHotspotNetworkSecurityType.js";
export declare class _NEHotspotNetwork extends _NSObject {
    static alloc(): _NEHotspotNetwork;
    static new(): _NEHotspotNetwork;
    init(): _NEHotspotNetwork;
    /**
     * This method returns SSID, BSSID and security type of the current Wi-Fi network when the requesting application meets one of following 4 requirements -. 1. application is using CoreLocation API and has user's authorization to access precise location. 2. application has used NEHotspotConfiguration API to configure the current Wi-Fi network. 3. application has active VPN configurations installed. 4. application has active NEDNSSettingsManager configuration installed. An application will receive nil if it fails to meet any of the above 4 requirements. An application will receive nil if does not have the "com.apple.developer.networking.wifi-info" entitlement. A block that will be executed when current Wi-Fi network details are obtained from the system. The NEHotspotNetwork object passed to this block will be nil if the requesting application fails to meet above requirements, non-nil otherwise. NEHotspotNetwork object contains only valid SSID, BSSID and security type values, when the block is passed non-nil object.This block is executed on application's main queue.
     */
    static fetchCurrentWithCompletionHandler$(completionHandler: ((currentNetwork: _NEHotspotNetwork) => void) | null): void;
    /**
     * Indicate the confidence in being able to handle the network. Use this method to indicate the confidence in being able to successfully authenticate to the given network. Used in the response to the kNEHotspotHelperCommandTypeEvaluate and kNEHotspotHelperCommandTypeFilterScanList commands.
     */
    setConfidence$(confidence: NEHotspotHelperConfidence): void;
    /**
     * Provide the password for a secure network The HotspotHelper may set a password for a secure network. The format password string must adhere to IEEE 802.11 guidelines appropriate for the particular security scheme. Used only in the response to the kNEHotspotHelperCommandTypeFilterScanList command.
     */
    setPassword$(password: _NSString): void;
    /** The SSID of the Wi-Fi network. */
    SSID(): _NSString;
    /** The BSSID of the Wi-Fi network. */
    BSSID(): _NSString;
    /** The security type of the Wi-Fi network. */
    securityType(): NEHotspotNetworkSecurityType;
    /**
     * The signal strength for the Wi-Fi network. The value lies within the range 0.0 (weak/no signal) to 1.0 (strong signal).
     */
    signalStrength(): number;
    /** Indicates whether the network is secure */
    secure(): boolean;
    /**
     * Indicates whether the network was joined automatically (YES) or joined by the user (NO).
     */
    autoJoined(): boolean;
    /**
     * Indicates whether the network was just joined. Useful in the Maintaining state to differentiate whether the Maintain command is for the initial join, or the subsequent periodic callback.
     */
    justJoined(): boolean;
    /**
     * Indicates whether the HotspotHelper is the chosen helper for the network. The NEHotspotNetwork must have been instantiated via a call to the +[NEHotspotHelper supportedNetworkInterfaces] method. This is useful to restore state after the HotspotHelper application is quit and restarted.
     */
    chosenHelper(): boolean;
}
