import type { NobjcObject } from "objc-js";
import type { _SFSpeechRecognitionRequest } from "./SFSpeechRecognitionRequest.js";
import type { _AVAudioFormat } from "../AVFAudio/AVAudioFormat.js";
import type { _AVAudioPCMBuffer } from "../AVFAudio/AVAudioPCMBuffer.js";
export declare class _SFSpeechAudioBufferRecognitionRequest extends _SFSpeechRecognitionRequest {
    static alloc(): _SFSpeechAudioBufferRecognitionRequest;
    static new(): _SFSpeechAudioBufferRecognitionRequest;
    init(): _SFSpeechAudioBufferRecognitionRequest;
    /**
     * Appends audio in the PCM format to the end of the recognition request. The audio must be in a native format and uncompressed. - Parameters: - audioPCMBuffer: An audio buffer that contains audio in the PCM format.
     */
    appendAudioPCMBuffer$(audioPCMBuffer: _AVAudioPCMBuffer): void;
    /**
     * Appends audio to the end of the recognition request. The audio must be in a native format. - Parameters: - sampleBuffer: A buffer of audio.
     */
    appendAudioSampleBuffer$(sampleBuffer: NobjcObject): void;
    /**
     * Marks the end of audio input for the recognition request. Call this method explicitly to let the speech recognizer know that no more audio input is coming.
     */
    endAudio(): void;
    /**
     * The preferred audio format for optimal speech recognition. Use the audio format in this property as a hint for optimal recording, but don't depend on the value remaining unchanged.
     */
    nativeAudioFormat(): _AVAudioFormat;
}
