import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSError } from "../Foundation/NSError.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSProgress } from "../Foundation/NSProgress.js";
import type { NSFontAssetRequestOptions } from "./NSFontAssetRequestOptions.js";
export declare class _NSFontAssetRequest extends _NSObject {
    static alloc(): _NSFontAssetRequest;
    static new(): _NSFontAssetRequest;
    init(): _NSFontAssetRequest;
    /**
     * An array of font descriptors is required argument to the init method. The fontDescriptors argument describes queries for downloadable font assets (list available at https://support.apple.com/en-us/HT206872#download). Any assets downloaded can be found using the standard NSFont lookup API once the request is completed.
     */
    initWithFontDescriptors$options$(fontDescriptors: _NSArray, options: NSFontAssetRequestOptions): _NSFontAssetRequest;
    /**
     * Start the download process. completionHandler will be called whenever encounters any error, or when all download has been completed without error. completionHandler should return NO if you wish to stop downloading from that point, or YES if you wish to continue trying downloading the next font.
     */
    downloadFontAssetsWithCompletionHandler$(completionHandler: ((error: _NSError) => boolean) | null): void;
    /** The downloaded font descriptors up to this point. */
    downloadedFontDescriptors(): _NSArray;
    /**
     * Progress for the request. The progress object will be valid at initialization and begin updating after the -downloadFontAssetsWithCompletionHandler: method is called.
     */
    progress(): _NSProgress;
}
