import type { _AVAudioRecorder } from "./AVAudioRecorder.js";
import type { _NSError } from "../Foundation/NSError.js";
export interface _AVAudioRecorderDelegate {
    /**
     * @method audioRecorderDidFinishRecording:successfully: @abstract This callback method is called when a recording has been finished or stopped. @discussion This method is NOT called if the recorder is stopped due to an interruption.
     */
    audioRecorderDidFinishRecording$successfully$?(recorder: _AVAudioRecorder, flag: boolean): void;
    /**
     * @method audioRecorderEncodeErrorDidOccur:error: @abstract This callback method is called when an error occurs while encoding. @discussion If an error occurs while encoding it will be reported to the delegate.
     */
    audioRecorderEncodeErrorDidOccur$error$?(recorder: _AVAudioRecorder, error: _NSError | null): void;
}
