import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSError } from "../Foundation/NSError.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _NEHotspotConfiguration } from "./NEHotspotConfiguration.js";
import type { _ASAccessory } from "../AccessorySetupKit/ASAccessory.js";
export declare class _NEHotspotConfigurationManager extends _NSObject {
    static alloc(): _NEHotspotConfigurationManager;
    static new(): _NEHotspotConfigurationManager;
    init(): _NEHotspotConfigurationManager;
    static sharedManager(): _NEHotspotConfigurationManager;
    /**
     * @method applyConfiguration: @discussion This function adds or updates a Wi-Fi network configuration. @param configuration NEHotspotConfiguration object containing the Wi-Fi network configuration. @param completionHandler A block that will be called when add/update operation is completed. Pass nil if application does not intend to receive the result. The NSError passed to this block will be nil if the configuration is successfully stored, non-nil otherwise. If the configuration is found invalid or API encounters some other error then completionHandler is called with instance of NSError containing appropriate error code. This API attempts to join the Wi-Fi network if the configuration is successfully added or updated and the network is found nearby.
     */
    applyConfiguration$completionHandler$(configuration: _NEHotspotConfiguration, completionHandler: ((error: _NSError) => void) | null): void;
    /**
     * @method removeConfigurationForSSID: @discussion This function removes Wi-Fi configuration. If the joinOnce property was set to YES, invoking this method will disassociate from the Wi-Fi network after the configuration is removed. @param SSID Wi-Fi SSID for which the configuration is to be deleted.
     */
    removeConfigurationForSSID$(SSID: _NSString): void;
    /**
     * @method removeConfigurationForNetworkName: @discussion This function removes Wi-Fi configuration. @param domainName HS2.0 domainName for which the configuration is to be deleted.
     */
    removeConfigurationForHS20DomainName$(domainName: _NSString): void;
    /**
     * @method getConfiguredSSIDsWithCompletionHandler: @discussion This function returns array of SSIDs and HS2.0 Domain Names that the calling application has configured. It returns nil if there are no networks configurred by the calling application.
     */
    getConfiguredSSIDsWithCompletionHandler$(completionHandler: (arg0: _NSArray) => void): void;
    /**
     * @method joinAccessoryHotspot: @discussion This function performs a one-time join of a Wi-Fi network configuration defined by an ASAccessory. This function implicitly sets joinOnce to YES. The network must support WPA/WPA2/WPA3 Personal security type. @param accessory Object of type ASAccessory class. This parameter is required to specify the Accessory Wi-Fi network. @param passphrase The required passphrase credential. The passphrase with a length between 8 and 63 characters to join WPA/WPA2/WPA3 Personal networks. @param completionHandler A block that will be called when join operation is completed. Pass nil if application does not intend to receive the result. The NSError passed to this block will be nil if the hotspot is successfully joined, non-nil otherwise. If the configuration is found to be invalid or some other error is encountered then the completionHandler block is executed with with an instance of NSError containing an appropriate error code.
     */
    joinAccessoryHotspot$passphrase$completionHandler$(accessory: _ASAccessory, passphrase: _NSString, completionHandler: ((error: _NSError) => void) | null): void;
    /**
     * @method joinAccessoryHotspotWithoutSecurity: @discussion This function performs a one-time join of an open Wi-Fi network configuration defined by an ASAccessory. This function implicitly sets joinOnce to YES. @param accessory Object of type ASAccessory class. This parameter is required to specify the Accessory Wi-Fi network. @param completionHandler A block that will be called when join operation is completed. Pass nil if application does not intend to receive the result. The NSError passed to this block will be nil if the hotspot is successfully joined, non-nil otherwise. If the configuration is found to be invalid or some other error is encountered then the completionHandler block is executed with with an instance of NSError containing an appropriate error code.
     */
    joinAccessoryHotspotWithoutSecurity$completionHandler$(accessory: _ASAccessory, completionHandler: ((error: _NSError) => void) | null): void;
}
