import type { _NSData } from "../Foundation/NSData.js";
import type { _NSError } from "../Foundation/NSError.js";
import type { _NSObject } from "../Foundation/NSObject.js";
export declare class _DCDevice extends _NSObject {
    static alloc(): _DCDevice;
    static new(): _DCDevice;
    init(): _DCDevice;
    /**
     * A representation of the device for which you want to query the two bits of data.
     */
    static currentDevice(): _DCDevice;
    /**
     * Generates a token that identifies the current device. > Concurrency Note: You can call this method from synchronous code using a completion handler, > as shown on this page, or you can call it as an asynchronous method that has the > following declaration: > > ```swift > func generateToken() async throws -> Data > ``` > For example: > ```swift > let token = try await generateToken() > ``` > For information about concurrency and asynchronous code in Swift, see <doc://com.apple.documentation/documentation/swift/calling-objective-c-apis-asynchronously>. Your server uses the generated token in its requests to get or set the persistent bits for the current device. You should treat the token you receive in the completion block as single-use. Although the token remains valid long enough for your server to retry a specific request if necessary, you should not use a token multiple times. Instead, use this method to generate a new token. - Note: The app you use to generate the token must be associated with your developer account; otherwise, the generation request fails. - Parameters: - completion: A completion block that includes the following parameters: - `token`: An ephemeral token that identifies the current device. - `error`: The error that occurred, if any.
     */
    generateTokenWithCompletionHandler$(completion: ((token: _NSData, error: _NSError) => void) | null): void;
    /** A Boolean value that indicates whether the device supports the DeviceCheck API. */
    supported(): boolean;
}
