import type { _NSError } from "../Foundation/NSError.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _NSURL } from "../Foundation/NSURL.js";
import type { _SFSpeechLanguageModelConfiguration } from "./SFSpeechLanguageModelConfiguration.js";
export declare class _SFSpeechLanguageModel extends _NSObject {
    static alloc(): _SFSpeechLanguageModel;
    static new(): _SFSpeechLanguageModel;
    init(): _SFSpeechLanguageModel;
    /** @deprecated +prepareCustomLanguageModelForUrl:configuration:completion: */
    static prepareCustomLanguageModelForUrl$clientIdentifier$configuration$completion$(asset: _NSURL, clientIdentifier: _NSString, configuration: _SFSpeechLanguageModelConfiguration, completion: ((error: _NSError) => void) | null): void;
    /**
     * @deprecated +prepareCustomLanguageModelForUrl:configuration:ignoresCache:completion:
     */
    static prepareCustomLanguageModelForUrl$clientIdentifier$configuration$ignoresCache$completion$(asset: _NSURL, clientIdentifier: _NSString, configuration: _SFSpeechLanguageModelConfiguration, ignoresCache: boolean, completion: ((error: _NSError) => void) | null): void;
    /**
     * Creates a language model from custom training data. - Parameters: - asset: The URL of a file containing custom training data. Create this file with ``SFCustomLanguageModelData/export(to:)``. - configuration: An object listing the URLs at which this method should create the language model and compiled vocabulary from the training data. - completion: Called when the language model has been created.
     */
    static prepareCustomLanguageModelForUrl$configuration$completion$(asset: _NSURL, configuration: _SFSpeechLanguageModelConfiguration, completion: ((error: _NSError) => void) | null): void;
    /**
     * Creates a language model from custom training data. - Parameters: - asset: The URL of a file containing custom training data. Create this file with ``SFCustomLanguageModelData/export(to:)``. - configuration: An object listing the URLs at which this method should create the language model and compiled vocabulary from the training data. - ignoresCache: If `true`, the language model identified by the configuration will be recreated even if the `asset` file is unchanged. - completion: Called when the language model has been created.
     */
    static prepareCustomLanguageModelForUrl$configuration$ignoresCache$completion$(asset: _NSURL, configuration: _SFSpeechLanguageModelConfiguration, ignoresCache: boolean, completion: ((error: _NSError) => void) | null): void;
}
